Don't wait for download.bin in windows downloads

This commit is contained in:
Florian Bruhin 2017-03-31 14:46:29 +02:00
parent fd276dabc7
commit 189c1721af

View File

@ -130,7 +130,7 @@ Feature: Downloading things from a website.
@windows
Scenario: Downloading a file to a reserved path
When I set storage -> prompt-download-directory to true
And I open data/downloads/download.bin
And I open data/downloads/download.bin without waiting
And I wait for "Asking question <qutebrowser.utils.usertypes.Question default='*' mode=<PromptMode.download: 5> text='Please enter a location for <b>http://localhost:*/data/downloads/download.bin</b>' title='Save file to:'>, *" in the log
And I run :prompt-accept COM1
And I run :leave-mode
@ -139,7 +139,7 @@ Feature: Downloading things from a website.
@windows
Scenario: Downloading a file to a drive-relative working directory
When I set storage -> prompt-download-directory to true
And I open data/downloads/download.bin
And I open data/downloads/download.bin without waiting
And I wait for "Asking question <qutebrowser.utils.usertypes.Question default='*' mode=<PromptMode.download: 5> text='Please enter a location for <b>http://localhost:*/data/downloads/download.bin</b>' title='Save file to:'>, *" in the log
And I run :prompt-accept C:foobar
And I run :leave-mode