on xenial help sign in
Correct dash emulator from dashSectionHeader to dashCategory.
d8de86eAllan LeSage
tests/autopilot/unity8/shell/emulators/dash.py+1−1
@@ -159,7 +159,7 @@ class GenericScopeView(emulators.UnityEmulatorBase):
159 def _get_category_element(self, category):
159 def _get_category_element(self, category):
160 try:
160 try:
161 return self.wait_select_single(
161 return self.wait_select_single(
162− 'Base', objectName='dashSectionHeader{}'.format(category))
162+ 'Base', objectName='dashCategory{}'.format(category))
163 except dbus.StateNotFoundError:
163 except dbus.StateNotFoundError:
164 raise emulators.UnityEmulatorException(
164 raise emulators.UnityEmulatorException(
165 'No category found with name {}'.format(category))
165 'No category found with name {}'.format(category))