on xenial help sign in
Merge from refactor branch
commit80fa757dd4a5f706f14b27117d8ab558abcfd204 authorMichael Terry <michael.terry@canonical.com> dateWed 7 Jan 2015, 09:54 (12 years ago) parent3d94ef49e9d0c8
1 file changed+2
tests/qmltests/Tutorial/tst_Tutorial.qml+2
tests/qmltests/Tutorial/tst_Tutorial.qml+2
@@ -103,6 +103,7 @@ Item {
103103 property real halfHeight: shell ? shell.height / 2 : 0
104104
105105 function init() {
106+ tryCompare(shell, "enabled", true); // enabled by greeter when ready
106107 swipeAwayGreeter();
107108 AccountsService.demoEdges = false;
108109 AccountsService.demoEdges = true;
@@ -153,6 +154,7 @@ Item {
153154 }
154155
155156 function waitForPage(name) {
157+ waitForRendering(findChild(shell, name));
156158 var page = findChild(shell, name);
157159 tryCompare(page, "shown", true);
158160 tryCompare(page.showAnimation, "running", false);