On the autopilot helper to open a scope, wait for the dash content list to stop moving. Fixes: 1277591
commita82401642125c61baec5f9b3d67f0cb83533749c
authorLeo Arias <leo.arias@canonical.com>
dateWed 12 Feb 2014, 15:12 (13 years ago)
parent0de771b4b5b24f
tests/autopilot/unity8/shell/emulators/dash.py+1−1
@@ -94,9 +94,9 @@ class Dash(emulators.UnityEmulatorBase):
9494
9595 while not scope_loader.isCurrent:
9696 scroll()
97+ self.dash_content_list.moving.wait_for(False)
9798
9899 scope = self._get_scope_from_loader(scope_loader)
99− scope.moving.wait_for(False)
100100 scope.isCurrent.wait_for(True)
101101 return scope
102102