on xenial help sign in
Autopilot wait for indicator to be fullyOpened.
commitc267f2aa3afeca1c4754c65f37e68ae8cf4d72aa authorAllan LeSage <allan.lesage@canonical.com> dateMon 31 Mar 2014, 16:02 (13 years ago) parentfc90690
1 file changed+2−2
tests/autopilot/unity8/shell/emulators/main_window.py+2−2
tests/autopilot/unity8/shell/emulators/main_window.py+2−2
@@ -111,7 +111,7 @@ class QQuickView(emulators.UnityEmulatorBase):
111111 end_x = start_x
112112 end_y = self.height
113113 self.pointing_device.drag(start_x, start_y, end_x, end_y)
114− # TODO: assert that the indicator page opened [alesage 2013-12-06]
114+ self.wait_select_single('Indicators', fullyOpened=True)
115115 return self.get_indicator_page(indicator_name)
116116
117117 @autopilot_logging.log_action(logger.info)
@@ -122,7 +122,7 @@ class QQuickView(emulators.UnityEmulatorBase):
122122 start_x = end_x
123123 start_y = self.height
124124 self.pointing_device.drag(start_x, start_y, end_x, end_y)
125− # TODO: assert that the indicator page closed [alesage 2013-12-06]
125+ self.wait_select_single('Indicators', fullyOpened=True)
126126
127127 def get_shell_background(self):
128128 return self.select_single(