on xenial help sign in
Remove wait
commit70b611d4535d3394c51acb1c92c34b22596c7f38 authorJosh Arenson <joshua.arenson@canonical.com> dateFri 29 Apr 2016, 08:53 (10 years ago) parentf20bd96
1 file changed+1−1
tests/qmltests/Dash/tst_Dash.qml+1−1
tests/qmltests/Dash/tst_Dash.qml+1−1
@@ -140,7 +140,7 @@ Item {
140140 expandingItem.expanded = true
141141
142142 // Flick the navigation list and ensure the underlying scope didn't move
143− wait(250) // FIXME: Wait for the expanding animation to complete
143+ tryCompareFunction(function() { return expandingItem.height == expandingItem.expandedHeight; }, true);
144144 flickToYEnd(primaryFilterContainer)
145145
146146 tryCompare(categoryListView, "atYBeginning", true)