Skip to content

Commit 5395e0f

Browse files
committed
tests: Use a fresh instance as a workaround
Waiting seems like a perfect recipe for another flaky test, so let's better be safe.
1 parent c156f53 commit 5395e0f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/integration/features/misc.feature

+2-2
Original file line numberDiff line numberDiff line change
@@ -295,8 +295,8 @@ Feature: Various utility commands.
295295
# WORKAROUND to prevent the "Painter ended with 2 saved states" warning
296296
# Might be related to https://bugreports.qt.io/browse/QTBUG-13524 and
297297
# a weird interaction with the previous test.
298-
When I wait 1s
299-
And I set content -> enable-pdfjs to true
298+
And I have a fresh instance
299+
When I set content -> enable-pdfjs to true
300300
And I set completion -> download-path-suggestion to filename
301301
And I set storage -> prompt-download-directory to true
302302
And I open data/misc/test.pdf

0 commit comments

Comments
 (0)