@@ -280,7 +280,7 @@ Item {
280280 mouseClick(dashContent, units.gu(5), units.gu(5))
281281 wait(1000);
282282 mouseClick(dashContent, units.gu(20), units.gu(5))
283− compare(dashContent.currentIndex, 1);
283+ tryCompare(dashContent, "currentIndex", 1);
284284 }
285285
286286 function test_tabBar_listens_to_index_change() {