@@ -214,6 +214,25 @@ Item {
214 compare(dashContentList.currentIndex, 0);
214 compare(dashContentList.currentIndex, 0);
217+ function test_manage_dash_open_no_favorites() {
218+ // Make it so there are no scopes
220+ var dashContentList = findChild(dash, "dashContentList");
221+ tryCompare(dashContentList, "count", 0);
223+ // Show the manage dash
224+ touchFlick(dash, dash.width / 2, dash.height - 1, dash.width / 2, units.gu(2));
225+ var bottomEdgeController = findInvisibleChild(dash, "bottomEdgeController");
226+ tryCompare(bottomEdgeController, "progress", 1);
229+ var scopesList = findChild(dash, "scopesList");
230+ var scopesListPageHeader = findChild(scopesList, "pageHeader");
231+ var backButton = findChild(findChild(scopesListPageHeader, "innerPageHeader"), "backButton");
232+ mouseClick(backButton, 0, 0);
233+ tryCompare(bottomEdgeController, "progress", 0);
217 function test_setCurrentScope() {
236 function test_setCurrentScope() {
218 var dashContentList = findChild(dash, "dashContentList");
237 var dashContentList = findChild(dash, "dashContentList");
219 var startX = dash.width - units.gu(1);
238 var startX = dash.width - units.gu(1);