on xenial help sign in
Make test a bit more resilient
844709cAlbert Astals Cid
tests/qmltests/Dash/tst_Dash.qml+1
@@ -629,6 +629,7 @@ Item {
629 touchFlick(dash, dash.width / 2, dash.height - 1, dash.width / 2, units.gu(2));
629 touchFlick(dash, dash.width / 2, dash.height - 1, dash.width / 2, units.gu(2));
630 var bottomEdgeController = findInvisibleChild(dash, "bottomEdgeController");
630 var bottomEdgeController = findInvisibleChild(dash, "bottomEdgeController");
631 tryCompare(bottomEdgeController, "progress", 1);
631 tryCompare(bottomEdgeController, "progress", 1);
632+ tryCompareFunction(function () { return findChild(dash, "scopesListCategoryother") !== null; }, true);
632 var nonfavScopesListCategory = findChild(dash, "scopesListCategoryother");
633 var nonfavScopesListCategory = findChild(dash, "scopesListCategoryother");
633 var nonfavScopesListCategoryList = findChild(nonfavScopesListCategory, "scopesListCategoryInnerList");
634 var nonfavScopesListCategoryList = findChild(nonfavScopesListCategory, "scopesListCategoryInnerList");
634 tryCompare(nonfavScopesListCategoryList, "currentIndex", 0);
635 tryCompare(nonfavScopesListCategoryList, "currentIndex", 0);