@@ -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;
@@ -154,6 +155,7 @@ Item {
154155
155156 function waitForPage(name) {
156157 tryCompareFunction(function() { return findChild(shell, name) !== null; }, true);
158+ waitForRendering(findChild(shell, name));
157159 var page = findChild(shell, name);
158160 tryCompare(page, "shown", true);
159161 tryCompare(page.showAnimation, "running", false);