@@ -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");