on xenial help sign in
... and below the check for the page name
c1a539bLukáš Tinkl
tests/qmltests/Wizard/tst_Wizard.qml+2−2
@@ -143,10 +143,10 @@ Item {
143 function waitForPage(name) {
143 function waitForPage(name) {
144 var pages = findChild(wizard, "wizardPages");
144 var pages = findChild(wizard, "wizardPages");
145 var stack = findChild(pages, "pageStack");
145 var stack = findChild(pages, "pageStack");
146− var contentAnimation = findInvisibleChild(stack.currentPage, "contentAnimation");
147− tryCompareFunction(function() { return contentAnimation.running; }, false);
148 // don't simply call tryCompare here, because stack.currentPage will be swapped out itself
146 // don't simply call tryCompare here, because stack.currentPage will be swapped out itself
149 tryCompareFunction(function() { return stack.currentPage.objectName; }, name, 15000);
147 tryCompareFunction(function() { return stack.currentPage.objectName; }, name, 15000);
148+ var contentAnimation = findInvisibleChild(stack.currentPage, "contentAnimation");
149+ tryCompareFunction(function() { return contentAnimation.running; }, false);
150 tryCompare(stack.currentPage, "opacity", 1.0);
150 tryCompare(stack.currentPage, "opacity", 1.0);
151 tryCompare(stack.currentPage, "enabled", true);
151 tryCompare(stack.currentPage, "enabled", true);
152 tryCompare(stack.currentPage, "skipValid", true);
152 tryCompare(stack.currentPage, "skipValid", true);