on xenial help sign in
Add some debugs, try to find out why it's crashing
commitd7f5fb07cd9e36a8c95f743e90f3374338985fe2 authorAlbert Astals <albert.astals@canonical.com> dateThu 12 Dec 2013, 00:22 (13 years ago) parent93f3235
1 file changed+7
tests/qmltests/Dash/tst_DashContent.qml+7
tests/qmltests/Dash/tst_DashContent.qml+7
@@ -274,14 +274,18 @@ Item {
274274 }
275275
276276 function test_tabBar_index_change() {
277+ console.log("A");
277278 tryCompare(scopesModel, "loaded", true);
278279 var tabbar = findChild(dashContent, "tabbar");
280+ console.log("B", tabbar);
279281
280282 compare(dashContent.currentIndex, 0);
281283 tryCompare(tabbar, "selectedIndex", 0);
282284 tryCompare(tabbar, "selectionMode", false);
285+ console.log("C");
283286
284287 mouseClick(tabbar, units.gu(5), units.gu(5))
288+ console.log("D");
285289
286290 tryCompare(tabbar, "selectionMode", true);
287291 tryCompare(tabbar, "selectedIndex", 0);
@@ -293,13 +297,16 @@ Item {
293297 } else {
294298 button0 = tabbar.children[0].children[0].children[0].children[2].children[1];
295299 }
300+ console.log("E", button0);
296301 waitForRendering(button0);
297302
298303 UT.Util.isInstanceOf(button0, "AbstractButton");
299304 UT.Util.isInstanceOf(button0.children[3], "Label");
300305 tryCompare(button0.children[3], "text", "Music");
306+ console.log("F");
301307
302308 mouseClick(button0, button0.width / 2, button0.height / 2)
309+ console.log("G");
303310
304311 tryCompare(tabbar, "selectionMode", false);
305312 tryCompare(tabbar, "selectedIndex", 1);