<commit_before>---
Test
---
This test ensures that we can copy and paste.

We use a mock server running to serve the HTML defined in this page.


!define HTML { {{{
<html>
<body>
<input id='src1' value='Bert'/>
<input id='target1' value='Ernie'/>
<textarea id='src2'>Elmo</textarea>
<textarea id='target2'>Big Bird</textarea>
</body>
</html>}}} }


|script      |mock xml server setup|
|add response|${HTML}              |
|$url=       |get mock server url  |

|script                |browser test|
|seconds before timeout|1           |<commit_msg>Bigger textarea to ensure we don't click inside existing text - > giving wrong paste result<commit_after>---
Test
---
This test ensures that we can copy and paste.

We use a mock server running to serve the HTML defined in this page.


!define HTML { {{{
<html>
<body>
<input id='src1' value='Bert'/>
<input id='target1' value='Ernie'/>
<textarea id='src2' rows="4" cols="50">Elmo</textarea>
<textarea id='target2' rows="4" cols="50">Big Bird</textarea>
</body>
</html>}}} }


|script      |mock xml server setup|
|add response|${HTML}              |
|$url=       |get mock server url  |

|script                |browser test|
|seconds before timeout|1           |
{'fraction_non_alphanumeric': 0.15099009900990099, 'fraction_numerical': 0.013201320132013201, 'mean_word_length': 3.1399317406143346, 'pattern_counts': {'":': 0, '<': 23, '<?xml version=': 0, '>': 24, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7324462', 'n_tokens_mistral': 400, 'n_tokens_neox': 377, 'n_words': 137}