on xenial help sign in
Fix autopilot tests
commit0b55bb98c44a9cfb5fe0247aac5abb758f80fd48 authorMichael Terry <michael.terry@canonical.com> dateWed 6 Aug 2014, 12:00 (12 years ago) parent543d4ef
1 file changed+2−1
tests/autopilot/unity8/shell/emulators/greeter.py+2−1
tests/autopilot/unity8/shell/emulators/greeter.py+2−1
@@ -28,6 +28,7 @@ class Greeter(UnityEmulatorBase):
2828 def swipe(self):
2929 """Swipe the greeter screen away."""
3030 self.created.wait_for(True)
31+ self.showProgress.wait_for(1)
3132
3233 rect = self.globalRect
3334 start_x = rect[0] + rect[2] - 3
@@ -36,7 +37,7 @@ class Greeter(UnityEmulatorBase):
3637 stop_y = start_y
3738 self.pointing_device.drag(start_x, start_y, stop_x, stop_y)
3839
39− self.created.wait_for(False)
40+ self.showProgress.wait_for(0)
4041
4142 def get_prompt(self):
4243 return self.select_single(