on xenial help sign in
Does a try compare help?
7cd287dAlbert Astals
tests/qmltests/Dash/tst_DashContent.qml+1−1
@@ -280,7 +280,7 @@ Item {
280 mouseClick(dashContent, units.gu(5), units.gu(5))
280 mouseClick(dashContent, units.gu(5), units.gu(5))
281 wait(1000);
281 wait(1000);
282 mouseClick(dashContent, units.gu(20), units.gu(5))
282 mouseClick(dashContent, units.gu(20), units.gu(5))
283− compare(dashContent.currentIndex, 1);
283+ tryCompare(dashContent, "currentIndex", 1);
284 }
284 }
285
285
286 function test_tabBar_listens_to_index_change() {
286 function test_tabBar_listens_to_index_change() {