on xenial help sign in
Make sure the flickable is interactive before trying to move it

Makes sure we don't end in an infinite loop trying to move something that cna't be moved

commit1d2c86d6a2436b83fac4a2878efa90173892135b authorAlbert Astals Cid <albert.astals@canonical.com> dateTue 26 May 2015, 09:34 (11 years ago) parent87d5c6f
1 file changed+1
tests/autopilot/unity8/indicators/__init__.py+1
tests/autopilot/unity8/indicators/__init__.py+1
@@ -74,6 +74,7 @@ class Indicator():
7474 # XXX this should be implemented as a general horizontal swiping in
7575 # the toolkit custom proxy object. -- elopio - 2015-01-20
7676 if not flickable.atXEnd:
77+ flickable.interactive.wait_for(True)
7778 while not flickable.atXEnd:
7879 start_y = stop_y = (
7980 flickable.globalRect.y +