summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Bruhin <me@the-compiler.org>2022-03-07 14:24:43 +0100
committerFlorian Bruhin <me@the-compiler.org>2022-03-07 14:24:43 +0100
commit1a737b8bc1e7797c273aa6bce53daab75761b1b9 (patch)
tree83da44963e9756795a9047c517c7525ba0e1732f
parent4c0eea93d6270c31a8a2ff4a13c15cc3a8d91bf1 (diff)
downloadqutebrowser-1a737b8bc1e7797c273aa6bce53daab75761b1b9.tar.gz
qutebrowser-1a737b8bc1e7797c273aa6bce53daab75761b1b9.zip
tests: Catch async ERR_INVALID_URL
-rw-r--r--tests/end2end/test_invocations.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/end2end/test_invocations.py b/tests/end2end/test_invocations.py
index 80a3c016b..43809cfd4 100644
--- a/tests/end2end/test_invocations.py
+++ b/tests/end2end/test_invocations.py
@@ -858,6 +858,8 @@ def test_sandboxing(
not_found_msg = ("The webpage at chrome://sandbox/ might be temporarily down or "
"it may have moved permanently to a new web address.")
if not_found_msg in text.split("\n"):
+ line = quteproc_new.wait_for(message='Load error: ERR_INVALID_URL')
+ line.expected = True
pytest.skip("chrome://sandbox/ not supported")
bpf_text = "Seccomp-BPF sandbox"