From 7a048f5cd8edf376434aa5d11461982b5ae50dcb Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Wed, 30 Dec 2020 16:02:23 +0100 Subject: tests: Handle ERR_FILE_NOT_FOUND for test_open_command_line_with_ascii_locale --- tests/end2end/test_invocations.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/end2end/test_invocations.py b/tests/end2end/test_invocations.py index 74805cec2..1d2f79a1a 100644 --- a/tests/end2end/test_invocations.py +++ b/tests/end2end/test_invocations.py @@ -170,6 +170,10 @@ def test_open_command_line_with_ascii_locale(request, server, tmpdir, quteproc_new.wait_for(message="load status for <* tab_id=* " "url='*/f*.html'>: LoadStatus.error") + if request.config.webengine: + line = quteproc_new.wait_for(message="Load error: ERR_FILE_NOT_FOUND") + line.expected = True + @pytest.mark.linux def test_misconfigured_user_dirs(request, server, temp_basedir_env, -- cgit v1.2.3-54-g00ecf