@@ -275,11 +275,14 @@ Item {
275275
276276 function test_tabBar_index_change() {
277277 tryCompare(scopesModel, "loaded", true);
278+ var tabbar = findChild(dashContent, "tabbar");
278279
279280 compare(dashContent.currentIndex, 0);
280− mouseClick(dashContent, units.gu(5), units.gu(5))
281− wait(1000);
282− mouseClick(dashContent, units.gu(20), units.gu(5))
281+ tryCompare(tabbar, "selectionMode", false);
282+ mouseClick(tabbar, units.gu(5), units.gu(5))
283+ tryCompare(tabbar, "selectionMode", true);
284+ mouseClick(tabbar, units.gu(20), units.gu(5))
285+ tryCompare(tabbar, "selectionMode", false);
283286 tryCompare(dashContent, "currentIndex", 1);
284287 }
285288