From f7dc9b54bde4732861a60bb4d7219a8fd9c7d6e6 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Mon, 9 May 2016 07:06:58 +0200 Subject: [PATCH] Add a test for #846 --- tests/integration/features/downloads.feature | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/tests/integration/features/downloads.feature b/tests/integration/features/downloads.feature index 8509a435c..152336c49 100644 --- a/tests/integration/features/downloads.feature +++ b/tests/integration/features/downloads.feature @@ -200,3 +200,14 @@ Feature: Downloading things from a website. And I run :close And I wait 0.5s Then no crash should happen + + ## https://github.com/The-Compiler/qutebrowser/issues/846 + + Scenario: Quitting with finished downloads and confirm-quit=downloads + Given I have a fresh instance + When I set storage -> prompt-download-directory to false + And I set ui -> confirm-quit to downloads + And I open data/downloads/download.bin + And I wait until the download is finished + And I run :close + Then qutebrowser should quit