on xenial help sign in
drop a test in tst_Dash which just checked for the old tabbar header to update. that code is gone
commit51381446cdd27757af7175cdeaea331214714225 authorMichael Zanetti <michael.zanetti@canonical.com> dateThu 3 Jul 2014, 13:15 (12 years ago) parent2489183
1 file changed−21
tests/qmltests/Dash/tst_Dash.qml−21
tests/qmltests/Dash/tst_Dash.qml−21
@@ -70,27 +70,6 @@ Item {
7070 ]
7171 }
7272
73− function test_set_current_scope_data() {
74− return get_scope_data()
75− }
76−
77− function test_set_current_scope(data) {
78− // wait for scopes to load
79− tryCompare(scopes, "loaded", true);
80−
81− var tabbar = findChild(dash, "tabbar");
82− verify(tabbar != undefined)
83− var dashContent = findChild(dash, "dashContent");
84− var current_index = dashContent.currentIndex;
85−
86− dash.setCurrentScope(data.tag, true /* animate */, false /* reset */);
87− compare(dashContent.currentIndex, data.shouldBeVisible ? data.visualIndex : current_index);
88−
89− var dashContentList = findChild(dash, "dashContentList");
90− var expectedTitle = dashContentList.model.get(data.shouldBeVisible ? data.visualIndex : current_index).title
91− compare(tabbar.title, expectedTitle);
92− }
93−
9473 function test_show_scope_on_load_data() {
9574 return get_scope_data()
9675 }