@@ -739,22 +739,6 @@ Rectangle {
739739 mockNotificationsModel.append(n)
740740 }
741741
742− function test_ClickUbuntuIconInLauncherTakesToAppsAndResetSearchString() {
743− loadShell("phone");
744− swipeAwayGreeter();
745− dragLauncherIntoView();
746− dashCommunicatorSpy.clear();
747−
748− var launcher = findChild(shell, "launcher");
749− var dashIcon = findChild(launcher, "dashItem");
750− verify(dashIcon != undefined);
751− mouseClick(dashIcon);
752−
753− tryCompare(ApplicationManager, "focusedApplicationId", "unity8-dash");
754−
755− compare(dashCommunicatorSpy.count, 1);
756− }
757−
758742 function test_suspend() {
759743 loadShell("phone");
760744 swipeAwayGreeter();
@@ -1372,47 +1356,6 @@ Rectangle {
13721356 tryCompare(stage, "state", "spread");
13731357 }
13741358
1375− function test_tapUbuntuIconInLauncherOverAppSpread() {
1376− launcherShowDashHomeSpy.clear();
1377−
1378− loadShell("phone");
1379− swipeAwayGreeter();
1380−
1381− waitUntilFocusedApplicationIsShowingItsSurface();
1382−
1383− swipeFromRightEdgeToShowAppSpread();
1384−
1385− var launcher = findChild(shell, "launcher");
1386−
1387− dragLauncherIntoView();
1388−
1389− // Emulate a tap with a finger, where the touch position drifts during the tap.
1390− // This is to test the touch ownership changes. The tap is happening on the button
1391− // area but then drifting into the left edge drag area. This test makes sure
1392− // the touch ownership stays with the button and doesn't move over to the
1393− // left edge drag area.
1394− {
1395− var buttonShowDashHome = findChild(launcher, "buttonShowDashHome");
1396− touchFlick(buttonShowDashHome,
1397− buttonShowDashHome.width * 0.2, /* startPos.x */
1398− buttonShowDashHome.height * 0.8, /* startPos.y */
1399− buttonShowDashHome.width * 0.8, /* endPos.x */
1400− buttonShowDashHome.height * 0.2 /* endPos.y */);
1401− }
1402−
1403− compare(launcherShowDashHomeSpy.count, 1);
1404−
1405− // check that the stage has left spread mode.
1406− {
1407− var stage = findChild(shell, "stage");
1408− tryCompare(stage, "state", "staged");
1409− }
1410−
1411− // check that the launcher got dismissed
1412− var launcherPanel = findChild(shell, "launcherPanel");
1413− tryCompare(launcherPanel, "x", -launcherPanel.width);
1414− }
1415−
14161359 function test_physicalHomeKeyPressDoesNothingWithActiveGreeter() {
14171360 loadShell("phone");
14181361
@@ -1839,7 +1782,7 @@ Rectangle {
18391782 loadDesktopShellWithApps()
18401783 var launcher = findChild(shell, "launcher");
18411784 var stage = findChild(shell, "stage");
1842− var bfb = findChild(launcher, "buttonShowDashHome");
1785+ var app1 = findChild(launcher, "launcherDelegate0");
18431786
18441787 GSettingsController.setAutohideLauncher(!data.launcherLocked);
18451788 waitForRendering(shell);
@@ -1852,17 +1795,17 @@ Rectangle {
18521795 if (!data.launcherLocked) {
18531796 revealLauncherByEdgePushWithMouse();
18541797 tryCompare(launcher, "x", 0);
1855− mouseMove(bfb, bfb.width / 2, bfb.height / 2)
1798+ mouseMove(app1, app1.width / 2, app1.height / 2)
18561799 waitForRendering(shell)
18571800 }
18581801
1859− mouseClick(bfb, bfb.width / 2, bfb.height / 2)
1802+ mouseClick(app1, app1.width / 2, app1.height / 2)
18601803 if (!data.launcherLocked) {
18611804 tryCompare(launcher, "state", "")
18621805 }
18631806 tryCompare(stage, "state", "windowed")
18641807
1865− tryCompare(ApplicationManager, "focusedApplicationId", "unity8-dash")
1808+ tryCompare(ApplicationManager, "focusedApplicationId", "dialer-app")
18661809
18671810 keyRelease(Qt.Key_Alt);
18681811 }
@@ -2185,10 +2128,8 @@ Rectangle {
21852128 tryCompare(launcher, "state", "visible");
21862129 tryCompare(launcherPanel, "highlightIndex", -1);
21872130 keyRelease(Qt.Key_Super_L, Qt.MetaModifier);
2188− tryCompare(launcher, "state", data.launcherLocked ? "visible" : "");
2131+ tryCompare(launcher, "state", "drawer");
21892132 tryCompare(launcherPanel, "highlightIndex", -2);
2190− tryCompare(ApplicationManager, "focusedApplicationId", "unity8-dash");
2191− tryCompare(stage, "focus", true)
21922133 }
21932134
21942135 function test_longpressSuperOpensLauncherAndShortcutsOverlay() {