On autopilot helpers, wait for the scope category to appear.
commitdbafc165a287a22b20903cfc2164e261aeb67e48
authorLeo Arias <leo.arias@canonical.com>
dateTue 28 Jan 2014, 15:57 (13 years ago)
parentbe2d485f37c39c
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(