on xenial help sign in
Stabilize test_doubleTapToMaximizeWindow()

Approved by: Michael Zanetti, Unity8 CI Bot

commit357bdf55404c8f7ae54471112ee52c4bb16ec93a authorLukáš Tinkl <lukas.tinkl@canonical.com> dateWed 9 Nov 2016, 15:06 (10 years ago) parent5618dbfaa21ac4
1 file changed+4−3
tests/qmltests/Stage/tst_DesktopStage.qml+4−3
tests/qmltests/Stage/tst_DesktopStage.qml+4−3
@@ -781,10 +781,11 @@ Item {
781781 verify(decoration);
782782
783783 // simulate a double tap, with a slight erroneous move in between those 2 taps
784− tap(decoration);
785− touchPress(decoration);
786− touchMove(decoration, decoration.width/2, decoration.height/2 - 10)
784+ tap(decoration); tap(decoration);
785+ touchMove(decoration, decoration.width/2, decoration.height/2 - 10);
787786 touchRelease(decoration);
787+ waitUntilTransitionsEnd(dialerAppDelegate);
788+ waitUntilTransitionsEnd(stage);
788789
789790 tryCompare(dialerAppDelegate, "state", "maximized");
790791 }