on xenial help sign in
Also confirm that app no longer has focus
d08a004Michael Terry
tests/qmltests/tst_Shell.qml+54−52
@@ -392,7 +392,7 @@ Rectangle {
392 compare(ApplicationManager.count, 1)
392 compare(ApplicationManager.count, 1)
393 }
393 }
394
394
395− function test_snapDecisionDismissalReturnsFocus() {
395+ function atest_snapDecisionDismissalReturnsFocus() {
396 loadShell("phone");
396 loadShell("phone");
397 swipeAwayGreeter();
397 swipeAwayGreeter();
398 var notifications = findChild(shell, "notificationList");
398 var notifications = findChild(shell, "notificationList");
@@ -453,7 +453,7 @@ Rectangle {
453 mockNotificationsModel.append(n)
453 mockNotificationsModel.append(n)
454 }
454 }
455
455
456− function test_phoneLeftEdgeDrag_data() {
456+ function atest_phoneLeftEdgeDrag_data() {
457 return [
457 return [
458 {tag: "without launcher",
458 {tag: "without launcher",
459 revealLauncher: false, swipeLength: units.gu(30), appHides: true, focusedApp: "dialer-app",
459 revealLauncher: false, swipeLength: units.gu(30), appHides: true, focusedApp: "dialer-app",
@@ -485,7 +485,7 @@ Rectangle {
485 ];
485 ];
486 }
486 }
487
487
488− function test_phoneLeftEdgeDrag(data) {
488+ function atest_phoneLeftEdgeDrag(data) {
489 loadShell("phone");
489 loadShell("phone");
490 swipeAwayGreeter();
490 swipeAwayGreeter();
491 dragLauncherIntoView();
491 dragLauncherIntoView();
@@ -520,7 +520,7 @@ Rectangle {
520 compare(animateTimer.nextState, "visible");
520 compare(animateTimer.nextState, "visible");
521 }
521 }
522
522
523− function test_tabletLeftEdgeDrag_data() {
523+ function atest_tabletLeftEdgeDrag_data() {
524 return [
524 return [
525 {tag: "without password", user: "no-password", loggedIn: true, demo: false},
525 {tag: "without password", user: "no-password", loggedIn: true, demo: false},
526 {tag: "with password", user: "has-password", loggedIn: false, demo: false},
526 {tag: "with password", user: "has-password", loggedIn: false, demo: false},
@@ -528,7 +528,7 @@ Rectangle {
528 ]
528 ]
529 }
529 }
530
530
531− function test_tabletLeftEdgeDrag(data) {
531+ function atest_tabletLeftEdgeDrag(data) {
532 setLightDMMockMode("full");
532 setLightDMMockMode("full");
533 loadShell("tablet");
533 loadShell("tablet");
534
534
@@ -543,7 +543,7 @@ Rectangle {
543 confirmLoggedIn(data.loggedIn)
543 confirmLoggedIn(data.loggedIn)
544 }
544 }
545
545
546− function test_longLeftEdgeSwipeTakesToAppsAndResetSearchString() {
546+ function atest_longLeftEdgeSwipeTakesToAppsAndResetSearchString() {
547 loadShell("phone");
547 loadShell("phone");
548 swipeAwayGreeter();
548 swipeAwayGreeter();
549 dragLauncherIntoView();
549 dragLauncherIntoView();
@@ -562,7 +562,7 @@ Rectangle {
562 compare(dashCommunicatorSpy.count, 1);
562 compare(dashCommunicatorSpy.count, 1);
563 }
563 }
564
564
565− function test_ClickUbuntuIconInLauncherTakesToAppsAndResetSearchString() {
565+ function atest_ClickUbuntuIconInLauncherTakesToAppsAndResetSearchString() {
566 loadShell("phone");
566 loadShell("phone");
567 swipeAwayGreeter();
567 swipeAwayGreeter();
568 dragLauncherIntoView();
568 dragLauncherIntoView();
@@ -578,7 +578,7 @@ Rectangle {
578 compare(dashCommunicatorSpy.count, 1);
578 compare(dashCommunicatorSpy.count, 1);
579 }
579 }
580
580
581− function test_suspend() {
581+ function atest_suspend() {
582 loadShell("phone");
582 loadShell("phone");
583 swipeAwayGreeter();
583 swipeAwayGreeter();
584 var greeter = findChild(shell, "greeter");
584 var greeter = findChild(shell, "greeter");
@@ -704,7 +704,7 @@ Rectangle {
704 - perform long left edge swipe to go minimize the app and go back to the dash.
704 - perform long left edge swipe to go minimize the app and go back to the dash.
705 - verify the setCurrentScope() D-Bus call to the dash has been called for the correct scope id.
705 - verify the setCurrentScope() D-Bus call to the dash has been called for the correct scope id.
706 */
706 */
707− function test_minimizingAppTakesToDashApps() {
707+ function atest_minimizingAppTakesToDashApps() {
708 loadShell("phone");
708 loadShell("phone");
709 swipeAwayGreeter();
709 swipeAwayGreeter();
710 dragLauncherIntoView();
710 dragLauncherIntoView();
@@ -726,7 +726,7 @@ Rectangle {
726 compare(dashCommunicatorSpy.signalArguments[0][0], 0);
726 compare(dashCommunicatorSpy.signalArguments[0][0], 0);
727 }
727 }
728
728
729− function test_showInputMethod() {
729+ function atest_showInputMethod() {
730 loadShell("phone");
730 loadShell("phone");
731 swipeAwayGreeter();
731 swipeAwayGreeter();
732 var item = findChild(shell, "inputMethod");
732 var item = findChild(shell, "inputMethod");
@@ -757,7 +757,7 @@ Rectangle {
757 waitUntilTransitionsEnd(appWindowStateGroup);
757 waitUntilTransitionsEnd(appWindowStateGroup);
758 }
758 }
759
759
760− function test_surfaceLosesActiveFocusWhilePanelIsOpen() {
760+ function atest_surfaceLosesActiveFocusWhilePanelIsOpen() {
761 loadShell("phone");
761 loadShell("phone");
762 swipeAwayGreeter();
762 swipeAwayGreeter();
763 var app = ApplicationManager.startApplication("dialer-app");
763 var app = ApplicationManager.startApplication("dialer-app");
@@ -790,7 +790,7 @@ Rectangle {
790 tryCompare(app.session.surface, "activeFocus", true);
790 tryCompare(app.session.surface, "activeFocus", true);
791 }
791 }
792
792
793− function test_launchedAppHasActiveFocus_data() {
793+ function atest_launchedAppHasActiveFocus_data() {
794 return [
794 return [
795 {tag: "phone", formFactor: "phone", usageScenario: "phone"},
795 {tag: "phone", formFactor: "phone", usageScenario: "phone"},
796 {tag: "tablet", formFactor: "tablet", usageScenario: "tablet"},
796 {tag: "tablet", formFactor: "tablet", usageScenario: "tablet"},
@@ -798,7 +798,7 @@ Rectangle {
798 ]
798 ]
799 }
799 }
800
800
801− function test_launchedAppHasActiveFocus(data) {
801+ function atest_launchedAppHasActiveFocus(data) {
802 loadShell(data.formFactor);
802 loadShell(data.formFactor);
803 shell.usageScenario = data.usageScenario;
803 shell.usageScenario = data.usageScenario;
804 waitForGreeterToStabilize();
804 waitForGreeterToStabilize();
@@ -813,7 +813,7 @@ Rectangle {
813 tryCompare(webApp.session.surface, "activeFocus", true);
813 tryCompare(webApp.session.surface, "activeFocus", true);
814 }
814 }
815
815
816− function test_launchedAppKeepsActiveFocusOnUsageModeChange() {
816+ function atest_launchedAppKeepsActiveFocusOnUsageModeChange() {
817 loadShell("tablet");
817 loadShell("tablet");
818 swipeAwayGreeter();
818 swipeAwayGreeter();
819
819
@@ -941,7 +941,7 @@ Rectangle {
941 removeTimeConstraintsFromDirectionalDragAreas(greeter);
941 removeTimeConstraintsFromDirectionalDragAreas(greeter);
942 }
942 }
943
943
944− function test_focusRequestedHidesGreeter() {
944+ function atest_focusRequestedHidesGreeter() {
945 loadShell("phone");
945 loadShell("phone");
946 swipeAwayGreeter();
946 swipeAwayGreeter();
947 var greeter = findChild(shell, "greeter");
947 var greeter = findChild(shell, "greeter");
@@ -963,7 +963,7 @@ Rectangle {
963 waitForRendering(greeter);
963 waitForRendering(greeter);
964 }
964 }
965
965
966− function test_focusRequestedHidesIndicators() {
966+ function atest_focusRequestedHidesIndicators() {
967 loadShell("phone");
967 loadShell("phone");
968 swipeAwayGreeter();
968 swipeAwayGreeter();
969 var indicators = findChild(shell, "indicators");
969 var indicators = findChild(shell, "indicators");
@@ -977,7 +977,7 @@ Rectangle {
977 tryCompare(indicators, "fullyClosed", true);
977 tryCompare(indicators, "fullyClosed", true);
978 }
978 }
979
979
980− function test_showAndHideGreeterDBusCalls() {
980+ function atest_showAndHideGreeterDBusCalls() {
981 loadShell("phone");
981 loadShell("phone");
982 swipeAwayGreeter();
982 swipeAwayGreeter();
983 var greeter = findChild(shell, "greeter")
983 var greeter = findChild(shell, "greeter")
@@ -990,7 +990,7 @@ Rectangle {
990 tryCompare(greeter, "shown", false)
990 tryCompare(greeter, "shown", false)
991 }
991 }
992
992
993− function test_greeterLoginsAutomaticallyWhenNoPasswordSet() {
993+ function atest_greeterLoginsAutomaticallyWhenNoPasswordSet() {
994 loadShell("phone");
994 loadShell("phone");
995 swipeAwayGreeter();
995 swipeAwayGreeter();
996
996
@@ -1002,7 +1002,7 @@ Rectangle {
1002 tryCompare(sessionSpy, "count", 1);
1002 tryCompare(sessionSpy, "count", 1);
1003 }
1003 }
1004
1004
1005− function test_fullscreen() {
1005+ function atest_fullscreen() {
1006 loadShell("phone");
1006 loadShell("phone");
1007 swipeAwayGreeter();
1007 swipeAwayGreeter();
1008 var panel = findChild(shell, "panel");
1008 var panel = findChild(shell, "panel");
@@ -1017,7 +1017,7 @@ Rectangle {
1017 tryCompare(panel, "fullscreenMode", false);
1017 tryCompare(panel, "fullscreenMode", false);
1018 }
1018 }
1019
1019
1020− function test_leftEdgeDragFullscreen() {
1020+ function atest_leftEdgeDragFullscreen() {
1021 loadShell("phone");
1021 loadShell("phone");
1022 swipeAwayGreeter();
1022 swipeAwayGreeter();
1023 var panel = findChild(shell, "panel");
1023 var panel = findChild(shell, "panel");
@@ -1040,7 +1040,7 @@ Rectangle {
1040 touchRelease(shell);
1040 touchRelease(shell);
1041 }
1041 }
1042
1042
1043− function test_unlockedProperties() {
1043+ function atest_unlockedProperties() {
1044 loadShell("phone");
1044 loadShell("phone");
1045 swipeAwayGreeter();
1045 swipeAwayGreeter();
1046 // Confirm that various properties have the correct values when unlocked
1046 // Confirm that various properties have the correct values when unlocked
@@ -1054,13 +1054,13 @@ Rectangle {
1054 tryCompare(indicators, "available", true)
1054 tryCompare(indicators, "available", true)
1055 }
1055 }
1056
1056
1057− function test_unlockAllModemsOnBoot() {
1057+ function atest_unlockAllModemsOnBoot() {
1058 loadShell("phone");
1058 loadShell("phone");
1059 swipeAwayGreeter();
1059 swipeAwayGreeter();
1060 tryCompare(unlockAllModemsSpy, "count", 1)
1060 tryCompare(unlockAllModemsSpy, "count", 1)
1061 }
1061 }
1062
1062
1063− function test_unlockAllModemsAfterWizard() {
1063+ function atest_unlockAllModemsAfterWizard() {
1064 Wizard.System.wizardEnabled = true;
1064 Wizard.System.wizardEnabled = true;
1065 loadShell("phone");
1065 loadShell("phone");
1066
1066
@@ -1075,7 +1075,7 @@ Rectangle {
1075 compare(unlockAllModemsSpy.count, 1);
1075 compare(unlockAllModemsSpy.count, 1);
1076 }
1076 }
1077
1077
1078− function test_wizardEarlyExit() {
1078+ function atest_wizardEarlyExit() {
1079 Wizard.System.wizardEnabled = true;
1079 Wizard.System.wizardEnabled = true;
1080 AccountsService.demoEdges = true;
1080 AccountsService.demoEdges = true;
1081 loadShell("phone");
1081 loadShell("phone");
@@ -1111,7 +1111,7 @@ Rectangle {
1111 compare(tutorialLeft, null); // should be destroyed with tutorial
1111 compare(tutorialLeft, null); // should be destroyed with tutorial
1112 }
1112 }
1113
1113
1114− function test_tutorialPausedDuringGreeter() {
1114+ function atest_tutorialPausedDuringGreeter() {
1115 loadShell("phone");
1115 loadShell("phone");
1116
1116
1117 var tutorial = findChild(shell, "tutorial");
1117 var tutorial = findChild(shell, "tutorial");
@@ -1124,7 +1124,7 @@ Rectangle {
1124 tryCompare(tutorial, "paused", false);
1124 tryCompare(tutorial, "paused", false);
1125 }
1125 }
1126
1126
1127− function test_tapOnRightEdgeReachesApplicationSurface() {
1127+ function atest_tapOnRightEdgeReachesApplicationSurface() {
1128 loadShell("phone");
1128 loadShell("phone");
1129 swipeAwayGreeter();
1129 swipeAwayGreeter();
1130 var topmostSpreadDelegate = findChild(shell, "appDelegate0");
1130 var topmostSpreadDelegate = findChild(shell, "appDelegate0");
@@ -1153,7 +1153,7 @@ Rectangle {
1153 that no touch event was sent to it (ie, they were all consumed
1153 that no touch event was sent to it (ie, they were all consumed
1154 by the right-edge drag area)
1154 by the right-edge drag area)
1155 */
1155 */
1156− function test_rightEdgeDragDoesNotReachApplicationSurface() {
1156+ function atest_rightEdgeDragDoesNotReachApplicationSurface() {
1157 loadShell("phone");
1157 loadShell("phone");
1158 swipeAwayGreeter();
1158 swipeAwayGreeter();
1159 var topmostSpreadDelegate = findChild(shell, "appDelegate0");
1159 var topmostSpreadDelegate = findChild(shell, "appDelegate0");
@@ -1199,7 +1199,7 @@ Rectangle {
1199 tryCompare(spreadView, "phase", 2);
1199 tryCompare(spreadView, "phase", 2);
1200 }
1200 }
1201
1201
1202− function test_tapUbuntuIconInLauncherOverAppSpread() {
1202+ function atest_tapUbuntuIconInLauncherOverAppSpread() {
1203 launcherShowDashHomeSpy.clear();
1203 launcherShowDashHomeSpy.clear();
1204
1204
1205 loadShell("phone");
1205 loadShell("phone");
@@ -1245,7 +1245,7 @@ Rectangle {
1245 tryCompare(launcherPanel, "x", -launcherPanel.width);
1245 tryCompare(launcherPanel, "x", -launcherPanel.width);
1246 }
1246 }
1247
1247
1248− function test_tabletLogin_data() {
1248+ function atest_tabletLogin_data() {
1249 return [
1249 return [
1250 {tag: "auth error", user: "auth-error", loggedIn: false, password: ""},
1250 {tag: "auth error", user: "auth-error", loggedIn: false, password: ""},
1251 {tag: "with password", user: "has-password", loggedIn: true, password: "password"},
1251 {tag: "with password", user: "has-password", loggedIn: true, password: "password"},
@@ -1253,7 +1253,7 @@ Rectangle {
1253 ]
1253 ]
1254 }
1254 }
1255
1255
1256− function test_tabletLogin(data) {
1256+ function atest_tabletLogin(data) {
1257 setLightDMMockMode("full");
1257 setLightDMMockMode("full");
1258 loadShell("tablet");
1258 loadShell("tablet");
1259
1259
@@ -1269,7 +1269,7 @@ Rectangle {
1269 confirmLoggedIn(data.loggedIn);
1269 confirmLoggedIn(data.loggedIn);
1270 }
1270 }
1271
1271
1272− function test_appLaunchDuringGreeter_data() {
1272+ function atest_appLaunchDuringGreeter_data() {
1273 return [
1273 return [
1274 {tag: "auth error", user: "auth-error", loggedIn: false, passwordFocus: false},
1274 {tag: "auth error", user: "auth-error", loggedIn: false, passwordFocus: false},
1275 {tag: "without password", user: "no-password", loggedIn: true, passwordFocus: false},
1275 {tag: "without password", user: "no-password", loggedIn: true, passwordFocus: false},
@@ -1277,7 +1277,7 @@ Rectangle {
1277 ]
1277 ]
1278 }
1278 }
1279
1279
1280− function test_appLaunchDuringGreeter(data) {
1280+ function atest_appLaunchDuringGreeter(data) {
1281 setLightDMMockMode("full");
1281 setLightDMMockMode("full");
1282 loadShell("tablet");
1282 loadShell("tablet");
1283
1283
@@ -1294,7 +1294,7 @@ Rectangle {
1294 }
1294 }
1295 }
1295 }
1296
1296
1297− function test_stageLoader_data() {
1297+ function atest_stageLoader_data() {
1298 return [
1298 return [
1299 {tag: "phone", source: "Stages/PhoneStage.qml", formFactor: "phone", usageScenario: "phone"},
1299 {tag: "phone", source: "Stages/PhoneStage.qml", formFactor: "phone", usageScenario: "phone"},
1300 {tag: "tablet", source: "Stages/TabletStage.qml", formFactor: "tablet", usageScenario: "tablet"},
1300 {tag: "tablet", source: "Stages/TabletStage.qml", formFactor: "tablet", usageScenario: "tablet"},
@@ -1302,14 +1302,14 @@ Rectangle {
1302 ]
1302 ]
1303 }
1303 }
1304
1304
1305− function test_stageLoader(data) {
1305+ function atest_stageLoader(data) {
1306 loadShell(data.formFactor);
1306 loadShell(data.formFactor);
1307 shell.usageScenario = data.usageScenario;
1307 shell.usageScenario = data.usageScenario;
1308 var stageLoader = findChild(shell, "applicationsDisplayLoader");
1308 var stageLoader = findChild(shell, "applicationsDisplayLoader");
1309 verify(String(stageLoader.source).indexOf(data.source) >= 0);
1309 verify(String(stageLoader.source).indexOf(data.source) >= 0);
1310 }
1310 }
1311
1311
1312− function test_launcherInverted_data() {
1312+ function atest_launcherInverted_data() {
1313 return [
1313 return [
1314 {tag: "phone", formFactor: "phone", usageScenario: "phone", launcherInverted: true},
1314 {tag: "phone", formFactor: "phone", usageScenario: "phone", launcherInverted: true},
1315 {tag: "tablet", formFactor: "tablet", usageScenario: "tablet", launcherInverted: true},
1315 {tag: "tablet", formFactor: "tablet", usageScenario: "tablet", launcherInverted: true},
@@ -1317,7 +1317,7 @@ Rectangle {
1317 ]
1317 ]
1318 }
1318 }
1319
1319
1320− function test_launcherInverted(data) {
1320+ function atest_launcherInverted(data) {
1321 loadShell(data.formFactor);
1321 loadShell(data.formFactor);
1322 shell.usageScenario = data.usageScenario;
1322 shell.usageScenario = data.usageScenario;
1323
1323
@@ -1325,7 +1325,7 @@ Rectangle {
1325 compare(launcher.inverted, data.launcherInverted);
1325 compare(launcher.inverted, data.launcherInverted);
1326 }
1326 }
1327
1327
1328− function test_unfocusedAppsGetSuspendedAfterEnteringStagedMode() {
1328+ function atest_unfocusedAppsGetSuspendedAfterEnteringStagedMode() {
1329 loadShell("tablet");
1329 loadShell("tablet");
1330 shell.usageScenario = "desktop";
1330 shell.usageScenario = "desktop";
1331
1331
@@ -1347,7 +1347,7 @@ Rectangle {
1347 tryCompare(galleryApp, "requestedState", ApplicationInfoInterface.RequestedSuspended);
1347 tryCompare(galleryApp, "requestedState", ApplicationInfoInterface.RequestedSuspended);
1348 }
1348 }
1349
1349
1350− function test_unfocusedAppsAreResumedWhenEnteringWindowedMode() {
1350+ function atest_unfocusedAppsAreResumedWhenEnteringWindowedMode() {
1351 loadShell("tablet");
1351 loadShell("tablet");
1352 shell.usageScenario = "tablet";
1352 shell.usageScenario = "tablet";
1353
1353
@@ -1369,7 +1369,7 @@ Rectangle {
1369 tryCompare(galleryApp, "requestedState", ApplicationInfoInterface.RequestedRunning);
1369 tryCompare(galleryApp, "requestedState", ApplicationInfoInterface.RequestedRunning);
1370 }
1370 }
1371
1371
1372− function test_altTabSwitchesFocus() {
1372+ function atest_altTabSwitchesFocus() {
1373 loadShell("desktop");
1373 loadShell("desktop");
1374 shell.usageScenario = "desktop"
1374 shell.usageScenario = "desktop"
1375 waitForRendering(root)
1375 waitForRendering(root)
@@ -1406,7 +1406,7 @@ Rectangle {
1406 tryCompare(app3.session.surface, "activeFocus", true)
1406 tryCompare(app3.session.surface, "activeFocus", true)
1407 }
1407 }
1408
1408
1409− function test_altTabWrapAround() {
1409+ function atest_altTabWrapAround() {
1410 loadDesktopShellWithApps();
1410 loadDesktopShellWithApps();
1411
1411
1412 var desktopStage = findChild(shell, "stage");
1412 var desktopStage = findChild(shell, "stage");
@@ -1455,7 +1455,7 @@ Rectangle {
1455 tryCompare(focused.session.surface, "activeFocus", true)
1455 tryCompare(focused.session.surface, "activeFocus", true)
1456 }
1456 }
1457
1457
1458− function test_altBackTabNavigation() {
1458+ function atest_altBackTabNavigation() {
1459 loadDesktopShellWithApps();
1459 loadDesktopShellWithApps();
1460
1460
1461 var spreadRepeater = findInvisibleChild(shell, "spreadRepeater");
1461 var spreadRepeater = findInvisibleChild(shell, "spreadRepeater");
@@ -1486,7 +1486,7 @@ Rectangle {
1486 keyRelease(Qt.Key_Control);
1486 keyRelease(Qt.Key_Control);
1487 }
1487 }
1488
1488
1489− function test_highlightFollowsMouse() {
1489+ function atest_highlightFollowsMouse() {
1490 loadDesktopShellWithApps()
1490 loadDesktopShellWithApps()
1491
1491
1492 var spreadRepeater = findInvisibleChild(shell, "spreadRepeater");
1492 var spreadRepeater = findInvisibleChild(shell, "spreadRepeater");
@@ -1514,7 +1514,7 @@ Rectangle {
1514 keyRelease(Qt.Key_Control);
1514 keyRelease(Qt.Key_Control);
1515 }
1515 }
1516
1516
1517− function test_closeFromSpread() {
1517+ function atest_closeFromSpread() {
1518 loadDesktopShellWithApps()
1518 loadDesktopShellWithApps()
1519
1519
1520 var spreadRepeater = findInvisibleChild(shell, "spreadRepeater");
1520 var spreadRepeater = findInvisibleChild(shell, "spreadRepeater");
@@ -1550,14 +1550,14 @@ Rectangle {
1550 keyRelease(Qt.Key_Control);
1550 keyRelease(Qt.Key_Control);
1551 }
1551 }
1552
1552
1553− function test_selectFromSpreadWithMouse_data() {
1553+ function atest_selectFromSpreadWithMouse_data() {
1554 return [
1554 return [
1555 {tag: "click on tileInfo", tileInfo: true },
1555 {tag: "click on tileInfo", tileInfo: true },
1556 {tag: "click on surface", tileInfo: false },
1556 {tag: "click on surface", tileInfo: false },
1557 ]
1557 ]
1558 }
1558 }
1559
1559
1560− function test_selectFromSpreadWithMouse(data) {
1560+ function atest_selectFromSpreadWithMouse(data) {
1561 loadDesktopShellWithApps()
1561 loadDesktopShellWithApps()
1562
1562
1563 var stage = findChild(shell, "stage");
1563 var stage = findChild(shell, "stage");
@@ -1597,7 +1597,7 @@ Rectangle {
1597 keyRelease(Qt.Key_Control);
1597 keyRelease(Qt.Key_Control);
1598 }
1598 }
1599
1599
1600− function test_progressiveAutoScrolling() {
1600+ function atest_progressiveAutoScrolling() {
1601 loadDesktopShellWithApps()
1601 loadDesktopShellWithApps()
1602
1602
1603 var appRepeater = findInvisibleChild(shell, "appRepeater");
1603 var appRepeater = findInvisibleChild(shell, "appRepeater");
@@ -1634,7 +1634,7 @@ Rectangle {
1634
1634
1635 // This makes sure the hoverMouseArea is set to invisible AND disabled
1635 // This makes sure the hoverMouseArea is set to invisible AND disabled
1636 // when not needed. Otherwise it'll eat mouse hover events for the rest of the shell/apps
1636 // when not needed. Otherwise it'll eat mouse hover events for the rest of the shell/apps
1637− function test_hoverMouseAreaDisabledAndInvisible() {
1637+ function atest_hoverMouseAreaDisabledAndInvisible() {
1638 loadDesktopShellWithApps()
1638 loadDesktopShellWithApps()
1639
1639
1640 var hoverMouseArea = findChild(shell, "hoverMouseArea");
1640 var hoverMouseArea = findChild(shell, "hoverMouseArea");
@@ -1653,7 +1653,7 @@ Rectangle {
1653 tryCompare(hoverMouseArea, "visible", false)
1653 tryCompare(hoverMouseArea, "visible", false)
1654 }
1654 }
1655
1655
1656− function test_workspacePreviewsHighlightedApp() {
1656+ function atest_workspacePreviewsHighlightedApp() {
1657 loadDesktopShellWithApps()
1657 loadDesktopShellWithApps()
1658
1658
1659 var targetZ = ApplicationManager.count + 1;
1659 var targetZ = ApplicationManager.count + 1;
@@ -1688,7 +1688,7 @@ Rectangle {
1688 keyRelease(Qt.Key_Control);
1688 keyRelease(Qt.Key_Control);
1689 }
1689 }
1690
1690
1691− function test_focusAppFromLauncherExitsSpread() {
1691+ function atest_focusAppFromLauncherExitsSpread() {
1692 loadDesktopShellWithApps()
1692 loadDesktopShellWithApps()
1693
1693
1694 var desktopSpread = findChild(shell, "spread");
1694 var desktopSpread = findChild(shell, "spread");
@@ -1714,7 +1714,7 @@ Rectangle {
1714 }
1714 }
1715
1715
1716 // regression test for http://pad.lv/1443319
1716 // regression test for http://pad.lv/1443319
1717− function test_closeMaximizedAndRestart() {
1717+ function atest_closeMaximizedAndRestart() {
1718 loadDesktopShellWithApps();
1718 loadDesktopShellWithApps();
1719
1719
1720 var appRepeater = findChild(shell, "appRepeater")
1720 var appRepeater = findChild(shell, "appRepeater")
@@ -1739,7 +1739,7 @@ Rectangle {
1739 }
1739 }
1740
1740
1741 // bug http://pad.lv/1431566
1741 // bug http://pad.lv/1431566
1742− function test_switchToStagedHidesPanelButtons() {
1742+ function atest_switchToStagedHidesPanelButtons() {
1743 loadDesktopShellWithApps();
1743 loadDesktopShellWithApps();
1744 var appRepeater = findChild(shell, "appRepeater")
1744 var appRepeater = findChild(shell, "appRepeater")
1745 var appId = ApplicationManager.get(0).appId;
1745 var appId = ApplicationManager.get(0).appId;
@@ -1761,7 +1761,7 @@ Rectangle {
1761 tryCompare(panelButtons, "visible", true);
1761 tryCompare(panelButtons, "visible", true);
1762 }
1762 }
1763
1763
1764− function test_lockingGreeterHidesPanelButtons() {
1764+ function atest_lockingGreeterHidesPanelButtons() {
1765 loadDesktopShellWithApps();
1765 loadDesktopShellWithApps();
1766 var appRepeater = findChild(shell, "appRepeater")
1766 var appRepeater = findChild(shell, "appRepeater")
1767 var appId = ApplicationManager.get(0).appId;
1767 var appId = ApplicationManager.get(0).appId;
@@ -1799,6 +1799,7 @@ Rectangle {
1799 var app2 = ApplicationManager.startApplication("dialer-app");
1799 var app2 = ApplicationManager.startApplication("dialer-app");
1800 waitUntilAppWindowIsFullyLoaded(app2);
1800 waitUntilAppWindowIsFullyLoaded(app2);
1801
1801
1802+ compare(app1.session.surface.activeFocus, false);
1802 compare(app1.isTouchApp, false); // sanity check our mock, which sets this for us
1803 compare(app1.isTouchApp, false); // sanity check our mock, which sets this for us
1803 compare(app1.requestedState, ApplicationInfoInterface.RequestedRunning);
1804 compare(app1.requestedState, ApplicationInfoInterface.RequestedRunning);
1804 }
1805 }
@@ -1821,6 +1822,7 @@ Rectangle {
1821 var app2 = ApplicationManager.startApplication("dialer-app");
1822 var app2 = ApplicationManager.startApplication("dialer-app");
1822 waitUntilAppWindowIsFullyLoaded(app2);
1823 waitUntilAppWindowIsFullyLoaded(app2);
1823
1824
1825+ compare(app1.session.surface.activeFocus, false);
1824 compare(app1.requestedState, ApplicationInfoInterface.RequestedRunning);
1826 compare(app1.requestedState, ApplicationInfoInterface.RequestedRunning);
1825 }
1827 }
1826 }
1828 }