@@ -472,6 +472,41 @@ Rectangle {
472472 confirmLoggedIn(data.loggedIn)
473473 }
474474
475+ function test_longLeftEdgeSwipeTakesToAppsAndResetSearchString() {
476+ loadShell("phone");
477+ swipeAwayGreeter();
478+ dragLauncherIntoView();
479+ dashCommunicatorSpy.clear();
480+
481+ tapOnAppIconInLauncher();
482+ waitUntilApplicationWindowIsFullyVisible();
483+
484+ verify(ApplicationManager.focusedApplicationId !== "unity8-dash")
485+
486+ //Long left swipe
487+ swipeFromLeftEdge(units.gu(30));
488+
489+ tryCompare(ApplicationManager, "focusedApplicationId", "unity8-dash");
490+
491+ compare(dashCommunicatorSpy.count, 1);
492+ }
493+
494+ function test_ClickUbuntuIconInLauncherTakesToAppsAndResetSearchString() {
495+ loadShell("phone");
496+ swipeAwayGreeter();
497+ dragLauncherIntoView();
498+ dashCommunicatorSpy.clear();
499+
500+ var launcher = findChild(shell, "launcher");
501+ var dashIcon = findChild(launcher, "dashItem");
502+ verify(dashIcon != undefined);
503+ mouseClick(dashIcon);
504+
505+ tryCompare(ApplicationManager, "focusedApplicationId", "unity8-dash");
506+
507+ compare(dashCommunicatorSpy.count, 1);
508+ }
509+
475510 function test_suspend() {
476511 loadShell("phone");
477512 swipeAwayGreeter();
@@ -1082,6 +1117,8 @@ Rectangle {
10821117 }
10831118
10841119 function test_tapUbuntuIconInLauncherOverAppSpread() {
1120+ launcherShowDashHomeSpy.clear();
1121+
10851122 loadShell("phone");
10861123 swipeAwayGreeter();
10871124