@@ -275,11 +275,14 @@ Item {
276 function test_tabBar_index_change() {
276 function test_tabBar_index_change() {
277 tryCompare(scopesModel, "loaded", true);
277 tryCompare(scopesModel, "loaded", true);
278+ var tabbar = findChild(dashContent, "tabbar");
279 compare(dashContent.currentIndex, 0);
280 compare(dashContent.currentIndex, 0);
281+ tryCompare(tabbar, "selectionMode", false);
280− mouseClick(dashContent, units.gu(5), units.gu(5))
282+ mouseClick(tabbar, units.gu(5), units.gu(5))
281− wait(1000);
283+ tryCompare(tabbar, "selectionMode", true);
282− mouseClick(dashContent, units.gu(20), units.gu(5))
284+ mouseClick(tabbar, units.gu(20), units.gu(5))
285+ tryCompare(tabbar, "selectionMode", false);
283 tryCompare(dashContent, "currentIndex", 1);
286 tryCompare(dashContent, "currentIndex", 1);