on xenial help sign in
remove delay here as well
3d09aedLukáš Tinkl
tests/qmltests/tst_Shell.qml+4−1
@@ -2544,7 +2544,10 @@ Rectangle {
2544 tryCompare(appDelegate, "state", "maximized");
2544 tryCompare(appDelegate, "state", "maximized");
2545
2545
2546 if (data.mouse) {
2546 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);
2548 mouseDrag(panel, panel.width/2, panel.height/2, 0, shell.height/3, Qt.LeftButton, Qt.NoModifier, 500);
2551 mouseDrag(panel, panel.width/2, panel.height/2, 0, shell.height/3, Qt.LeftButton, Qt.NoModifier, 500);
2549 } else {
2552 } else {
2550 touchFlick(panel, panel.width/2, panel.height/2, panel.width/2, shell.height/3);
2553 touchFlick(panel, panel.width/2, panel.height/2, panel.width/2, shell.height/3);