on xenial help sign in
... and below the check for the page name
commitc1a539ba0182b6da1211a41645d2f17a7f45d766 authorLukáš Tinkl <lukas.tinkl@canonical.com> dateFri 6 May 2016, 15:51 (10 years ago) parent7006a54
1 file changed+2−2
tests/qmltests/Wizard/tst_Wizard.qml+2−2
tests/qmltests/Wizard/tst_Wizard.qml+2−2
@@ -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);