@@ -143,10 +143,10 @@ Item {
143143 function waitForPage(name) {
144144 var pages = findChild(wizard, "wizardPages");
145145 var stack = findChild(pages, "pageStack");
146− var contentAnimation = findInvisibleChild(stack.currentPage, "contentAnimation");
147− tryCompareFunction(function() { return contentAnimation.running; }, false);
148146 // don't simply call tryCompare here, because stack.currentPage will be swapped out itself
149147 tryCompareFunction(function() { return stack.currentPage.objectName; }, name, 15000);
148+ var contentAnimation = findInvisibleChild(stack.currentPage, "contentAnimation");
149+ tryCompareFunction(function() { return contentAnimation.running; }, false);
150150 tryCompare(stack.currentPage, "opacity", 1.0);
151151 tryCompare(stack.currentPage, "enabled", true);
152152 tryCompare(stack.currentPage, "skipValid", true);