diff --git a/tests/end2end/test_insert_mode.py b/tests/end2end/test_insert_mode.py index d28ac20d2..3d7b9999d 100644 --- a/tests/end2end/test_insert_mode.py +++ b/tests/end2end/test_insert_mode.py @@ -63,24 +63,7 @@ def test_insert_mode(file_name, elem_id, source, input_text, auto_insert, zoom, raise ValueError("Invalid source {!r}".format(source)) quteproc.wait_for_js('contents: {}'.format(input_text)) - quteproc.send_cmd(':leave-mode') - quteproc.send_cmd(':click-element --force-event id {}'.format(elem_id)) - quteproc.wait_for(message='Entering mode KeyMode.insert (reason: *)') - - if not request.config.webengine: - quteproc.send_cmd(':enter-mode caret') - quteproc.send_cmd(':toggle-selection') - quteproc.send_cmd(':move-to-prev-word') - - quteproc.send_cmd(':yank selection') - - expected_message = '{} chars yanked to clipboard'.format(len(input_text)) - quteproc.mark_expected(category='message', - loglevel=logging.INFO, - message=expected_message) - quteproc.wait_for( - message='Setting fake clipboard: {}'.format(json.dumps(input_text))) def test_auto_leave_insert_mode(quteproc):