From a011034ff710c3f368fc23e2416d07fd60ab1e05 Mon Sep 17 00:00:00 2001 From: Daniel Schadt Date: Fri, 24 Mar 2017 12:57:53 +0100 Subject: [PATCH] fix tests --- tests/end2end/features/downloads.feature | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) 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