on xenial help sign in
stabilize test
commitefb4a50c3e0c8e63cf5e60d75f477ae41f58c30e authorLukáš Tinkl <lukas.tinkl@canonical.com> dateTue 21 Mar 2017, 11:44 (10 years ago) parent63107cb
1 file changed+2−1
tests/qmltests/tst_Shell.qml+2−1
tests/qmltests/tst_Shell.qml+2−1
@@ -2538,6 +2538,7 @@ Rectangle {
25382538 tap(maximizeButton);
25392539 }
25402540
2541+ waitUntilTransitionsEnd(appDelegate);
25412542 tryCompare(appDelegate, "state", "maximized");
25422543
25432544 if (data.mouse) {
@@ -2547,7 +2548,7 @@ Rectangle {
25472548 tryCompare(menuBarLoader.item, "visible", true);
25482549 mouseDrag(panel, panel.width/2, panel.height/2, 0, shell.height/3, Qt.LeftButton, Qt.NoModifier, 500);
25492550 } else {
2550− touchFlick(panel, panel.width/2, panel.height/2, panel.width/2, shell.height/3);
2551+ touchFlick(panel, panel.width/2, panel.panelHeight/2, panel.width/2, shell.height/3);
25512552 }
25522553
25532554 tryCompare(appDelegate, "state", "restored");