on xenial help sign in
Remove wait
70b611dJosh Arenson
tests/qmltests/Dash/tst_Dash.qml+1−1
@@ -140,7 +140,7 @@ Item {
140 expandingItem.expanded = true
140 expandingItem.expanded = true
141
141
142 // Flick the navigation list and ensure the underlying scope didn't move
142 // 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);
144 flickToYEnd(primaryFilterContainer)
144 flickToYEnd(primaryFilterContainer)
145
145
146 tryCompare(categoryListView, "atYBeginning", true)
146 tryCompare(categoryListView, "atYBeginning", true)