summaryrefslogtreecommitdiff
path: root/tests/end2end/features/conftest.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/end2end/features/conftest.py')
-rw-r--r--tests/end2end/features/conftest.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/end2end/features/conftest.py b/tests/end2end/features/conftest.py
index 96e04a9fb..c1089ecff 100644
--- a/tests/end2end/features/conftest.py
+++ b/tests/end2end/features/conftest.py
@@ -437,12 +437,12 @@ def update_documentation():
subprocess.run([sys.executable, update_script], check=True)
-@bdd.when("I wait until PDF.js is loaded")
+@bdd.when("I wait until PDF.js is ready")
def wait_pdfjs(quteproc):
quteproc.wait_for(message="load status for <qutebrowser.browser.* "
"tab_id=* url='qute://pdfjs/web/viewer.html?*'>: LoadStatus.success")
try:
- quteproc.wait_for(message="[qute://pdfjs/web/viewer.html?*] Uncaught TypeError: Cannot read property 'set' of undefined", timeout=100)
+ quteproc.wait_for(message="JS: [qute://pdfjs/web/viewer.html?*] Uncaught TypeError: Cannot read property 'set' of undefined", timeout=100)
except testprocess.WaitForTimeout:
pass
else: