tests: Use a fresh instance as a workaround

Waiting seems like a perfect recipe for another flaky test, so let's better be
safe.
This commit is contained in:
Florian Bruhin 2016-02-28 15:26:18 +01:00
parent c156f53eba
commit 5395e0f6e2

View File

@ -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