@@ -212,59 +212,6 @@ Item {
212 compare(dashContentList.currentIndex, 0);
212 compare(dashContentList.currentIndex, 0);
215− function test_manage_dash_search_temp_scope() {
216− // TODO Search is disabled for now in manage dash
219− // Show the manage dash
220− touchFlick(dash, dash.width / 2, dash.height - 1, dash.width / 2, units.gu(2));
221− var bottomEdgeController = findInvisibleChild(dash, "bottomEdgeController");
222− tryCompare(bottomEdgeController, "progress", 1);
225− var scopesList = findChild(dash, "scopesList");
226− var scopesListPageHeader = findChild(scopesList, "pageHeader");
227− var searchButton = findChild(scopesListPageHeader, "search_header_button");
228− mouseClick(searchButton);
233− // Click on a temp scope in the search
234− tryCompareFunction( function() { return findChild(scopesList, "scopesListCategorysearchA") != null; }, true);
235− var dashCategorysearchA = findChild(scopesList, "scopesListCategorysearchA");
236− tryCompareFunction( function() { return findChild(dashCategorysearchA, "delegate2") != null; }, true);
237− var cardTempScope = findChild(dashCategorysearchA, "delegate2");
239− waitForRendering(cardTempScope);
240− mouseClick(cardTempScope);
242− // Check the bottom edge (overview) is disabled from temp scope
243− var overviewDragHandle = findChild(dash, "overviewDragHandle");
244− compare(overviewDragHandle.enabled, false);
246− // Check temp scope is there
247− var dashTempScopeItem = findChild(dash, "dashTempScopeItem");
248− tryCompare(dashTempScopeItem, "x", 0);
249− tryCompare(dashTempScopeItem, "visible", true);
251− // Check the manage dash is gone
252− tryCompare(bottomEdgeController, "progress", 0);
255− var dashTempScopeItemHeader = findChild(dashTempScopeItem, "scopePageHeader");
256− var backButton = findChild(findChild(dashTempScopeItemHeader, "innerPageHeader"), "customBackButton");
257− mouseClick(backButton);
259− // Check temp scope is gone
260− tryCompare(dashTempScopeItem, "x", dash.width);
261− tryCompare(dashTempScopeItem, "visible", false);
263− // Original list is still on 0
264− var dashContentList = findChild(dash, "dashContentList");
265− compare(dashContentList.currentIndex, 0);
268 function test_manage_dash_open_no_favorites() {
215 function test_manage_dash_open_no_favorites() {
269 // Make it so there are no scopes
216 // Make it so there are no scopes
270 scopes.clear();
217 scopes.clear();