on xenial help sign in
Fix tst_ShellWithPin
4dc7d6eDaniel d'Andrada
tests/qmltests/tst_ShellWithPin.qml+2−2
@@ -612,14 +612,14 @@ Item {
612 tryCompare(coverPage, "showProgress", 1);
612 tryCompare(coverPage, "showProgress", 1);
613
613
614 // Swipe cover page away
614 // Swipe cover page away
615− touchFlick(shell, 2, shell.height / 2, units.gu(27), shell.height / 2);
615+ touchFlick(shell, 2, shell.height / 2, units.gu(30), shell.height / 2);
616 tryCompare(launcher, "x", -launcher.width);
616 tryCompare(launcher, "x", -launcher.width);
617 tryCompare(coverPage, "showProgress", 0);
617 tryCompare(coverPage, "showProgress", 0);
618 compare(lockscreen.shown, true);
618 compare(lockscreen.shown, true);
619 compare(ApplicationManager.focusedApplicationId, "gallery-app");
619 compare(ApplicationManager.focusedApplicationId, "gallery-app");
620
620
621 // Now attempt a swipe on lockscreen
621 // Now attempt a swipe on lockscreen
622− touchFlick(shell, 2, shell.height / 2, units.gu(27), shell.height / 2);
622+ touchFlick(shell, 2, shell.height / 2, units.gu(30), shell.height / 2);
623 tryCompare(launcher, "x", 0);
623 tryCompare(launcher, "x", 0);
624 compare(lockscreen.shown, true);
624 compare(lockscreen.shown, true);
625 compare(ApplicationManager.focusedApplicationId, "gallery-app");
625 compare(ApplicationManager.focusedApplicationId, "gallery-app");