@@ -1374,6 +1374,17 @@ Rectangle {
1374 verify(coverPage.shown);
1374 verify(coverPage.shown);
1377+ function test_physicalHomeKeyPressFocusesDash() {
1378+ loadShell("phone");
1380+ var galleryApp = ApplicationManager.startApplication("gallery-app");
1381+ tryCompare(ApplicationManager, "focusedApplicationId", "gallery-app");
1383+ var windowInputMonitor = findInvisibleChild(shell, "windowInputMonitor");
1384+ windowInputMonitor.homeKeyActivated();
1385+ tryCompare(ApplicationManager, "focusedApplicationId", "unity8-dash");
1377 function test_tabletLogin_data() {
1388 function test_tabletLogin_data() {
1378 return [
1389 return [
1379 {tag: "auth error", user: "auth-error", loggedIn: false, password: ""},
1390 {tag: "auth error", user: "auth-error", loggedIn: false, password: ""},