On autopilot helpers, wait for the scope category to appear.
commitfbf95afbb44a5c063ea0cda0c19a050dbbe8ac08
authorLeo Arias <leo.arias@canonical.com>
dateTue 21 Jan 2014, 12:20 (13 years ago)
parentf812445
tests/autopilot/unity8/shell/emulators/dash.py+1−1
@@ -158,7 +158,7 @@ class DashApps(emulators.UnityEmulatorBase):
158158
159159 def _get_category_element(self, category):
160160 try:
161− return self.select_single(
161+ return self.wait_select_single(
162162 'Base', objectName='dashCategory{}'.format(category))
163163 except dbus.StateNotFoundError:
164164 raise emulators.UnityEmulatorException(