@@ -764,6 +764,22 @@ Rectangle {
764 tryCompare(tutorialRightLoader, "shown", true);
764 tryCompare(tutorialRightLoader, "shown", true);
767+ function test_desktopTutorialRightFinish() {
768+ loadShell("desktop");
770+ var tutorialRight = findChild(shell, "tutorialRight");
771+ ApplicationManager.startApplication("dialer-app");
772+ ApplicationManager.startApplication("camera-app");
773+ tryCompare(tutorialRight, "shown", true);
775+ var stage = findChild(shell, "stage");
776+ mouseMove(shell, shell.width, shell.height / 2);
777+ stage.pushRightEdge(units.gu(8));
778+ tryCompare(tutorialRight, "shown", false);
780+ tryCompare(AccountsService, "demoEdges", false);
767 function test_oskDoesNotHideTutorial() {
783 function test_oskDoesNotHideTutorial() {
768 var tutorialLeft = findChild(shell, "tutorialLeft");
784 var tutorialLeft = findChild(shell, "tutorialLeft");
769 verify(tutorialLeft.shown);
785 verify(tutorialLeft.shown);