on xenial help sign in
Fix testDash
commit4800e0768eb52bbdbd5e867a7c5ff43c1d443854 authorAlbert Astals <albert.astals@canonical.com> dateTue 9 Dec 2014, 12:21 (12 years ago) parent1c9e60f
1 file changed+6−1
tests/qmltests/Dash/tst_Dash.qml+6−1
tests/qmltests/Dash/tst_Dash.qml+6−1
@@ -162,6 +162,9 @@ Item {
162162 }
163163
164164 function test_manage_dash_search_temp_scope() {
165+ // TODO Search is disabled for now in manage dash
166+ return;
167+
165168 // Show the manage dash
166169 touchFlick(dash, dash.width / 2, dash.height - 1, dash.width / 2, units.gu(2));
167170 var bottomEdgeController = findInvisibleChild(dash, "bottomEdgeController");
@@ -232,7 +235,9 @@ Item {
232235 var dashContent = findChild(dash, "dashContent");
233236 waitForRendering(dash)
234237
235− var delegate0 = findChild(dash, "delegate0");
238+ var scopeLoader0 = findChild(dashContent, "scopeLoader0");
239+ var dashCategory0 = findChild(scopeLoader0, "dashCategory0");
240+ var delegate0 = findChild(dashCategory0, "delegate0");
236241 mouseClick(delegate0, delegate0.width / 2, delegate0.height / 2);
237242
238243 tryCompare(dashContent, "subPageShown", true)