@@ -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);
286 function test_tabBar_listens_to_index_change() {
286 function test_tabBar_listens_to_index_change() {