on xenial help sign in
remove delay here as well
commit3d09aed055fd5fe717523a3adf2bf4a22ac91854 authorLukáš Tinkl <lukas.tinkl@canonical.com> dateMon 13 Mar 2017, 10:20 (10 years ago) parent8fa9520
1 file changed+4−1
tests/qmltests/tst_Shell.qml+4−1
tests/qmltests/tst_Shell.qml+4−1
@@ -2544,7 +2544,10 @@ Rectangle {
25442544 tryCompare(appDelegate, "state", "maximized");
25452545
25462546 if (data.mouse) {
2547− mouseMove(panel, panel.width/2, panel.panelHeight/2, 200 /* delay */); // to reveal the menus
2547+ mouseMove(panel, panel.width/2, panel.panelHeight/2); // to reveal the menus
2548+ var menuBarLoader = findInvisibleChild(panel, "menuBarLoader");
2549+ verify(menuBarLoader);
2550+ tryCompare(menuBarLoader.item, "visible", true);
25482551 mouseDrag(panel, panel.width/2, panel.height/2, 0, shell.height/3, Qt.LeftButton, Qt.NoModifier, 500);
25492552 } else {
25502553 touchFlick(panel, panel.width/2, panel.height/2, panel.width/2, shell.height/3);