From 7d6327873a0cba2eb93f026da5d621b42e3a6b26 Mon Sep 17 00:00:00 2001 From: Daniel Schadt Date: Sat, 21 Nov 2015 12:45:57 +0100 Subject: [PATCH] Pass test only when mhtml file is written Otherwise we might spill data to tests that come after the mhtml ones. --- tests/integration/features/downloads.feature | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/integration/features/downloads.feature b/tests/integration/features/downloads.feature index 02653db8e..6c5bbac58 100644 --- a/tests/integration/features/downloads.feature +++ b/tests/integration/features/downloads.feature @@ -59,9 +59,11 @@ Feature: Downloading things from a website. Scenario: Downloading as mhtml is available When I open html And I run :download --mhtml + And I wait for "File successfully written." in the log Then no crash should happen Scenario: Downloading as mhtml with non-ASCII headers When I open response-headers?Content-Type=text%2Fpl%C3%A4in And I run :download --mhtml --dest mhtml-response-headers.mht + And I wait for "File successfully written." in the log Then no crash should happen