From 5395e0f6e288d3ec8e462479481975df04224ba4 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Sun, 28 Feb 2016 15:26:18 +0100 Subject: [PATCH] tests: Use a fresh instance as a workaround Waiting seems like a perfect recipe for another flaky test, so let's better be safe. --- tests/integration/features/misc.feature | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/integration/features/misc.feature b/tests/integration/features/misc.feature index 8fa35c558..c838323a1 100644 --- a/tests/integration/features/misc.feature +++ b/tests/integration/features/misc.feature @@ -295,8 +295,8 @@ Feature: Various utility commands. # WORKAROUND to prevent the "Painter ended with 2 saved states" warning # Might be related to https://bugreports.qt.io/browse/QTBUG-13524 and # a weird interaction with the previous test. - When I wait 1s - And I set content -> enable-pdfjs to true + And I have a fresh instance + When I set content -> enable-pdfjs to true And I set completion -> download-path-suggestion to filename And I set storage -> prompt-download-directory to true And I open data/misc/test.pdf