diff --git a/tests/end2end/data/insert_mode_settings/html/autofocus.html b/tests/end2end/data/insert_mode_settings/html/autofocus.html index db5399252..5b707426f 100644 --- a/tests/end2end/data/insert_mode_settings/html/autofocus.html +++ b/tests/end2end/data/insert_mode_settings/html/autofocus.html @@ -3,8 +3,17 @@ Inputs Autofocus + - + diff --git a/tests/end2end/data/insert_mode_settings/html/input.html b/tests/end2end/data/insert_mode_settings/html/input.html index 2965693d3..0617cae3f 100644 --- a/tests/end2end/data/insert_mode_settings/html/input.html +++ b/tests/end2end/data/insert_mode_settings/html/input.html @@ -3,8 +3,17 @@ Input + - + diff --git a/tests/end2end/data/insert_mode_settings/html/textarea.html b/tests/end2end/data/insert_mode_settings/html/textarea.html index 403809a3a..1ab9d7524 100644 --- a/tests/end2end/data/insert_mode_settings/html/textarea.html +++ b/tests/end2end/data/insert_mode_settings/html/textarea.html @@ -3,8 +3,16 @@ Textarea + - + diff --git a/tests/end2end/test_insert_mode.py b/tests/end2end/test_insert_mode.py index cd57968ca..6939dae0e 100644 --- a/tests/end2end/test_insert_mode.py +++ b/tests/end2end/test_insert_mode.py @@ -56,6 +56,10 @@ def test_insert_mode(file_name, elem_id, source, input_text, auto_insert, # second time. quteproc.send_cmd(':debug-set-fake-clipboard "{}"'.format(input_text)) quteproc.send_cmd(':insert-text {clipboard}') + else: + raise ValueError("Invalid source {!r}".format(source)) + + quteproc.wait_for_js('contents: {}'.format(input_text)) quteproc.send_cmd(':leave-mode') quteproc.send_cmd(':hint all')