on xenial help sign in
On the autopilot helper to open a scope, wait for the dash content list to stop moving. Fixes: 1277591
a824016Leo Arias
tests/autopilot/unity8/shell/emulators/dash.py+1−1
@@ -94,9 +94,9 @@ class Dash(emulators.UnityEmulatorBase):
94
94
95 while not scope_loader.isCurrent:
95 while not scope_loader.isCurrent:
96 scroll()
96 scroll()
97+ self.dash_content_list.moving.wait_for(False)
97
98
98 scope = self._get_scope_from_loader(scope_loader)
99 scope = self._get_scope_from_loader(scope_loader)
99− scope.moving.wait_for(False)
100 scope.isCurrent.wait_for(True)
100 scope.isCurrent.wait_for(True)
101 return scope
101 return scope
102
102