diff options
author | Daniel Schadt <kingdread@gmx.de> | 2016-12-20 15:57:00 +0100 |
---|---|---|
committer | Daniel Schadt <kingdread@gmx.de> | 2016-12-20 15:57:00 +0100 |
commit | a24bcd424330c68de2cd5fde97352d8f18046613 (patch) | |
tree | eecd8fc8ab8ee558c76573e2953ee32959812e10 | |
parent | f92c82ead14152e7ac5c91a3b8febf6ceb430290 (diff) | |
download | qutebrowser-a24bcd424330c68de2cd5fde97352d8f18046613.tar.gz qutebrowser-a24bcd424330c68de2cd5fde97352d8f18046613.zip |
add a test for remembering the temp download dir
-rw-r--r-- | tests/end2end/features/downloads.feature | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/end2end/features/downloads.feature b/tests/end2end/features/downloads.feature index b6a38da29..85917864e 100644 --- a/tests/end2end/features/downloads.feature +++ b/tests/end2end/features/downloads.feature @@ -424,6 +424,20 @@ Feature: Downloading things from a website. And I open data/downloads/download2.bin without waiting Then the download prompt should be shown with "(tmpdir)/download2.bin" + # https://github.com/The-Compiler/qutebrowser/issues/2173 + + Scenario: Remembering the temporary download directory (issue 2173) + When I set storage -> prompt-download-directory to true + And I set storage -> remember-download-directory to true + And I open data/downloads/download.bin without waiting + And I wait for the download prompt for "*" + And I run :prompt-accept (tmpdir) + And I open data/downloads/download.bin without waiting + And I wait for the download prompt for "*" + And I directly open the download + And I open data/downloads/download.bin without waiting + Then the download prompt should be shown with "(tmpdir)/download.bin" + # Overwriting files Scenario: Not overwriting an existing file |