on xenial help sign in
Add test
commit10213264c1d8d37d1aab033eb82c132e3ea6a15b authorMichael Terry <mike@mterry.name> dateThu 3 Sep 2015, 15:17 (11 years ago) parent984d0e8
1 file changed+13
tests/qmltests/tst_Shell.qml+13
tests/qmltests/tst_Shell.qml+13
@@ -1104,6 +1104,19 @@ Rectangle {
11041104 compare(tutorialLeft, null); // should be destroyed with tutorial
11051105 }
11061106
1107+ function test_tutorialPausedDuringGreeter(data) {
1108+ loadShell("phone");
1109+
1110+ var tutorial = findChild(shell, "tutorial");
1111+
1112+ AccountsService.demoEdges = true;
1113+ tryCompare(tutorial, "running", true);
1114+ tryCompare(tutorial, "paused", true);
1115+
1116+ swipeAwayGreeter();
1117+ tryCompare(tutorial, "paused", false);
1118+ }
1119+
11071120 function test_tapOnRightEdgeReachesApplicationSurface() {
11081121 loadShell("phone");
11091122 swipeAwayGreeter();