@@ -460,6 +460,46 @@ Rectangle {
460 confirmLoggedIn(data.loggedIn)
460 confirmLoggedIn(data.loggedIn)
463+ function test_longLeftEdgeSwipeTakesToAppsAndResetSearchString() {
467+ dashCommunicatorSpy.clear();
470+ swipeFromLeftEdge(units.gu(25));
472+ compare(dashCommunicatorSpy.count, 0);
475+ swipeFromLeftEdge(units.gu(30));
477+ tryCompare(ApplicationManager, "focusedApplicationId", "unity8-dash");
479+ compare(dashCommunicatorSpy.count, 1);
480+ compare(dashCommunicatorSpy.signalArguments[0][0], 0);
481+ compare(dashCommunicatorSpy.signalArguments[0][2], true)
484+ function test_ClickUbuntuIconInLauncherTakesToAppsAndResetSearchString() {
487+ dragLauncherIntoView();
489+ dashCommunicatorSpy.clear();
491+ var launcher = findChild(shell, "launcher");
492+ var dashIcon = findChild(launcher, "dashItem");
493+ verify(dashIcon != undefined);
494+ mouseClick(dashIcon);
496+ tryCompare(ApplicationManager, "focusedApplicationId", "unity8-dash");
498+ compare(dashCommunicatorSpy.count, 1);
499+ compare(dashCommunicatorSpy.signalArguments[0][0], 0);
500+ compare(dashCommunicatorSpy.signalArguments[0][2], true)
463 function test_suspend() {
503 function test_suspend() {
464 loadShell("phone");
504 loadShell("phone");
465 swipeAwayGreeter();
505 swipeAwayGreeter();
@@ -1083,6 +1123,8 @@ Rectangle {
1083 var dismissTimer = findInvisibleChild(launcher, "dismissTimer");
1123 var dismissTimer = findInvisibleChild(launcher, "dismissTimer");
1084 dismissTimer.interval = 60 * 60 * 1000;
1124 dismissTimer.interval = 60 * 60 * 1000;
1126+ launcherShowDashHomeSpy.clear();
1086 dragLauncherIntoView();
1128 dragLauncherIntoView();
1088 // Emulate a tap with a finger, where the touch position drifts during the tap.
1130 // Emulate a tap with a finger, where the touch position drifts during the tap.