@@ -1104,6 +1104,19 @@ Rectangle {
1104 compare(tutorialLeft, null); // should be destroyed with tutorial
1104 compare(tutorialLeft, null); // should be destroyed with tutorial
1107+ function test_tutorialPausedDuringGreeter(data) {
1108+ loadShell("phone");
1110+ var tutorial = findChild(shell, "tutorial");
1112+ AccountsService.demoEdges = true;
1113+ tryCompare(tutorial, "running", true);
1114+ tryCompare(tutorial, "paused", true);
1116+ swipeAwayGreeter();
1117+ tryCompare(tutorial, "paused", false);
1107 function test_tapOnRightEdgeReachesApplicationSurface() {
1120 function test_tapOnRightEdgeReachesApplicationSurface() {
1108 loadShell("phone");
1121 loadShell("phone");
1109 swipeAwayGreeter();
1122 swipeAwayGreeter();