on xenial help sign in
Need a wait_ here now that things are more async
commitbf8cb836c8bef9b60af4941b676aa7fda3e91e3c authorAlbert Astals <albert.astals@canonical.com> dateMon 1 Dec 2014, 16:52 (12 years ago) parentd9fda27
1 file changed+1−1
tests/autopilot/unity8/shell/emulators/dash.py+1−1
tests/autopilot/unity8/shell/emulators/dash.py+1−1
@@ -204,7 +204,7 @@ class GenericScopeView(emulators.UnityEmulatorBase):
204204
205205 """
206206 category_element = self._get_category_element(category)
207− icon = category_element.select_single('AbstractButton', title=title)
207+ icon = category_element.wait_select_single('AbstractButton', title=title)
208208 self.pointing_device.click_object(icon)
209209
210210 def _get_category_element(self, category):