@@ -2344,29 +2344,5 @@ Rectangle {
23442344 tryCompare(app2.session.lastSurface, "keymapLayout", "fr");
23452345 tryCompare(app2.session.lastSurface, "keymapVariant", "");
23462346 }
2347−
2348− function test_dragPanelToRestoreMaximizedWindow() {
2349− loadShell("desktop");
2350− shell.usageScenario = "desktop";
2351− waitForRendering(shell);
2352− var panel = findChild(shell, "windowControlArea");
2353− verify(panel);
2354−
2355− var app = ApplicationManager.startApplication("dialer-app")
2356− waitUntilAppWindowIsFullyLoaded(app);
2357−
2358− // start dialer, maximize it
2359− var appContainer = findChild(shell, "appContainer");
2360− var appDelegate = findChild(appContainer, "appDelegate_dialer-app");
2361− verify(appDelegate);
2362− appDelegate.maximize();
2363− tryCompare(appDelegate, "state", "maximized");
2364−
2365− mousePress(panel);
2366− mouseMove(shell, shell.width/2, shell.height/2);
2367− mouseRelease(shell);
2368−
2369− tryCompare(appDelegate, "state", "normal");
2370− }
23712347 }
23722348}