diff --git a/tests/end2end/features/downloads.feature b/tests/end2end/features/downloads.feature index 7016f3284..f15466053 100644 --- a/tests/end2end/features/downloads.feature +++ b/tests/end2end/features/downloads.feature @@ -30,7 +30,7 @@ Feature: Downloading things from a website. And I open data/downloads/issue1243.html And I run :hint links download And I run :follow-hint a - And I wait for "Asking question text='Save file to:'>, *" in the log + And I wait for "Asking question text='Save file to:'>, *" in the log And I run :leave-mode Then no crash should happen @@ -40,7 +40,7 @@ Feature: Downloading things from a website. And I open data/downloads/issue1214.html And I run :hint links download And I run :follow-hint a - And I wait for "Asking question text='Save file to:'>, *" in the log + And I wait for "Asking question text='Save file to:'>, *" in the log And I run :leave-mode Then no crash should happen diff --git a/tests/end2end/features/misc.feature b/tests/end2end/features/misc.feature index 08befc45a..b11ff5975 100644 --- a/tests/end2end/features/misc.feature +++ b/tests/end2end/features/misc.feature @@ -312,7 +312,7 @@ Feature: Various utility commands. And I open data/misc/test.pdf And I wait for "[qute://pdfjs/*] PDF * (PDF.js: *)" in the log And I run :jseval document.getElementById("download").click() - And I wait for "Asking question text='Save file to:'>, *" in the log + And I wait for "Asking question text='Save file to:'>, *" in the log And I run :leave-mode Then no crash should happen diff --git a/tests/end2end/features/test_downloads_bdd.py b/tests/end2end/features/test_downloads_bdd.py index dc5a478eb..06271cb5c 100644 --- a/tests/end2end/features/test_downloads_bdd.py +++ b/tests/end2end/features/test_downloads_bdd.py @@ -64,7 +64,7 @@ def download_should_exist(filename, tmpdir): def download_prompt(tmpdir, quteproc, path): full_path = path.replace('{downloaddir}', str(tmpdir)).replace('/', os.sep) msg = ("Asking question " + "default={full_path!r} mode= " "text='Save file to:'>, *".format(full_path=full_path)) quteproc.wait_for(message=msg) quteproc.send_cmd(':leave-mode')