@@ -274,7 +274,6 @@ Item {
276 function doFindMusicButton(parent) {
276 function doFindMusicButton(parent) {
277− console.log("P", parent);
278 for (var i = 0; i < parent.children.length; i++) {
277 for (var i = 0; i < parent.children.length; i++) {
279 var c = parent.children[i];
278 var c = parent.children[i];
280 if (UT.Util.isInstanceOf(c, "AbstractButton") && parent.x >= 0) {
279 if (UT.Util.isInstanceOf(c, "AbstractButton") && parent.x >= 0) {
@@ -301,18 +300,14 @@ Item {
303 function test_tabBar_index_change() {
302 function test_tabBar_index_change() {
305 tryCompare(scopesModel, "loaded", true);
303 tryCompare(scopesModel, "loaded", true);
306 var tabbar = findChild(dashContent, "tabbar");
304 var tabbar = findChild(dashContent, "tabbar");
307− console.log("B", tabbar);
309 compare(dashContent.currentIndex, 0);
306 compare(dashContent.currentIndex, 0);
310 tryCompare(tabbar, "selectedIndex", 0);
307 tryCompare(tabbar, "selectedIndex", 0);
311 tryCompare(tabbar, "selectionMode", false);
308 tryCompare(tabbar, "selectionMode", false);
314 mouseClick(tabbar, units.gu(5), units.gu(5))
310 mouseClick(tabbar, units.gu(5), units.gu(5))
317 tryCompare(tabbar, "selectionMode", true);
312 tryCompare(tabbar, "selectionMode", true);
318 tryCompare(tabbar, "selectedIndex", 0);
313 tryCompare(tabbar, "selectedIndex", 0);
@@ -320,13 +315,9 @@ Item {
321 var button;
316 var button;
322 tryCompareFunction(function() { button = findMusicButton(); return button != undefined; }, true);
317 tryCompareFunction(function() { button = findMusicButton(); return button != undefined; }, true);
323− console.log("E", button);
324 waitForRendering(button);
318 waitForRendering(button);
328 mouseClick(button, button.width / 2, button.height / 2)
320 mouseClick(button, button.width / 2, button.height / 2)
331 tryCompare(tabbar, "selectionMode", false);
322 tryCompare(tabbar, "selectionMode", false);
332 tryCompare(tabbar, "selectedIndex", 1);
323 tryCompare(tabbar, "selectedIndex", 1);