@@ -215,6 +215,8 @@ Item {
216 // Click in first item
216 // Click in first item
217 var favScopesListCategoryList = findChild(findChild(dash, "scopesListCategoryfavorites"), "scopesListCategoryInnerList");
217 var favScopesListCategoryList = findChild(findChild(dash, "scopesListCategoryfavorites"), "scopesListCategoryInnerList");
218+ tryCompareFunction(function() { return favScopesListCategoryList.currentItem !== null }, true);
219+ waitForRendering(favScopesListCategoryList.currentItem);
218 mouseClick(favScopesListCategoryList.currentItem);
220 mouseClick(favScopesListCategoryList.currentItem);
220 // Make sure animation went back
222 // Make sure animation went back