on xenial help sign in
Fix for manage_dash_select_same_favorite flaky test (hopefully)
commit174b17a0a8e349392b9329ed7c5614f5ff082a78 authorAndrea Cimitan <andrea.cimitan@gmail.com> dateFri 19 Aug 2016, 19:14 (10 years ago) parent5b5d579
1 file changed+2
tests/qmltests/Dash/tst_Dash.qml+2
tests/qmltests/Dash/tst_Dash.qml+2
@@ -215,6 +215,8 @@ Item {
215215
216216 // Click in first item
217217 var favScopesListCategoryList = findChild(findChild(dash, "scopesListCategoryfavorites"), "scopesListCategoryInnerList");
218+ tryCompareFunction(function() { return favScopesListCategoryList.currentItem !== null }, true);
219+ waitForRendering(favScopesListCategoryList.currentItem);
218220 mouseClick(favScopesListCategoryList.currentItem);
219221
220222 // Make sure animation went back