@@ -472,6 +472,41 @@ Rectangle {
472 confirmLoggedIn(data.loggedIn)
472 confirmLoggedIn(data.loggedIn)
475+ function test_longLeftEdgeSwipeTakesToAppsAndResetSearchString() {
478+ dragLauncherIntoView();
479+ dashCommunicatorSpy.clear();
481+ tapOnAppIconInLauncher();
482+ waitUntilApplicationWindowIsFullyVisible();
484+ verify(ApplicationManager.focusedApplicationId !== "unity8-dash")
487+ swipeFromLeftEdge(units.gu(30));
489+ tryCompare(ApplicationManager, "focusedApplicationId", "unity8-dash");
491+ compare(dashCommunicatorSpy.count, 1);
494+ function test_ClickUbuntuIconInLauncherTakesToAppsAndResetSearchString() {
497+ dragLauncherIntoView();
498+ dashCommunicatorSpy.clear();
500+ var launcher = findChild(shell, "launcher");
501+ var dashIcon = findChild(launcher, "dashItem");
502+ verify(dashIcon != undefined);
503+ mouseClick(dashIcon);
505+ tryCompare(ApplicationManager, "focusedApplicationId", "unity8-dash");
507+ compare(dashCommunicatorSpy.count, 1);
475 function test_suspend() {
510 function test_suspend() {
476 loadShell("phone");
511 loadShell("phone");
477 swipeAwayGreeter();
512 swipeAwayGreeter();
@@ -1082,6 +1117,8 @@ Rectangle {
1084 function test_tapUbuntuIconInLauncherOverAppSpread() {
1119 function test_tapUbuntuIconInLauncherOverAppSpread() {
1120+ launcherShowDashHomeSpy.clear();
1085 loadShell("phone");
1122 loadShell("phone");
1086 swipeAwayGreeter();
1123 swipeAwayGreeter();