diff --git a/tests/end2end/features/downloads.feature b/tests/end2end/features/downloads.feature index 38c4cc627..1e4587740 100644 --- a/tests/end2end/features/downloads.feature +++ b/tests/end2end/features/downloads.feature @@ -128,16 +128,20 @@ Feature: Downloading things from a website. @windows Scenario: Downloading a file to a reserved path - When I open data/downloads/download.bin + When I set storage -> prompt-download-directory to true + And I open data/downloads/download.bin + And I wait for "Asking question text='Please enter a location for http://localhost:*/data/downloads/download.bin' title='Save file to:'>, *" in the log And I run :prompt-accept COM1 - And I run :prompt-cancel + And I run :leave-mode Then "Invalid filename" should be logged @windows Scenario: Downloading a file to a drive-relative working directory - When I open data/downloads/download.bin + When I set storage -> prompt-download-directory to true + And I open data/downloads/download.bin + And I wait for "Asking question text='Please enter a location for http://localhost:*/data/downloads/download.bin' title='Save file to:'>, *" in the log And I run :prompt-accept C:foobar - And I run :prompt-cancel + And I run :leave-mode Then "Invalid filename" should be logged @windows