on xenial help sign in
stabilize
commitaa21ac4133f39c52457b3c377c8b766d558cae43 authorLukáš Tinkl <lukas.tinkl@canonical.com> dateTue 8 Nov 2016, 16:35 (10 years ago) parent196356b
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 }