on xenial help sign in
stabilize the tests a bit
commitb7c3406d5152a165578e79250e30632ada27d4e1 authorLukáš Tinkl <lukas.tinkl@canonical.com> dateSun 6 Dec 2015, 16:42 (11 years ago) parent610af51
1 file changed+2−2
tests/qmltests/Wizard/tst_Wizard.qml+2−2
tests/qmltests/Wizard/tst_Wizard.qml+2−2
@@ -200,7 +200,6 @@ Item {
200200 var tzList = findChild(page, "tzList");
201201 verify(tzList);
202202 waitForRendering(tzList);
203− tzList.currentIndex = 0;
204203 page.selectedTimeZone = "Pacific/Honolulu";
205204 tap(findChild(page, "forwardButton"));
206205
@@ -211,7 +210,8 @@ Item {
211210 tap(findChild(page, "passInput"));
212211 typeString("12345678");
213212 var pass2Input = findChild(page, "pass2Input");
214− verify(pass2Input); // give it a bit of time to finish the scroll-into-view animation
213+ // give it a bit of time to finish the scroll-into-view animation
214+ tryCompareFunction(function() { return pass2Input !== null; }, true);
215215 tap(pass2Input);
216216 typeString("12345678");
217217 tap(findChild(page, "forwardButton"));