on xenial help sign in
Replace the calls to home scope for calls to clickscope. Updated the scope_id string.
a85616fLeo Arias
tests/autopilot/unity8/shell/emulators/dash.py+2−2
@@ -54,8 +54,8 @@ class Dash(emulators.UnityEmulatorBase):
54 resp_grid = app_grid.wait_select_single('ResponsiveGridView')
54 resp_grid = app_grid.wait_select_single('ResponsiveGridView')
55 return resp_grid.select_single('Tile', text=text)
55 return resp_grid.select_single('Tile', text=text)
56
56
57− def get_scope(self, scope_name='home'):
57+ def get_scope(self, scope_name='clickscope'):
58− scope_id = "%s.scope" % scope_name
58+ scope_id = '%s' % scope_name
59 return self.dash_content_list.select_single(
59 return self.dash_content_list.select_single(
60 'QQuickLoader', scopeId=scope_id)
60 'QQuickLoader', scopeId=scope_id)
61
61
tests/autopilot/unity8/shell/tests/__init__.py+1−1
@@ -377,7 +377,7 @@ class UnityTestCase(AutopilotTestCase):
377
377
378 def assertUnityReady(self):
378 def assertUnityReady(self):
379 dash = self.get_dash()
379 dash = self.get_dash()
380− home_scope = dash.get_scope('home')
380+ home_scope = dash.get_scope('clickscope')
381
381
382 # FIXME! There is a huge timeout here for when we're doing CI on
382 # FIXME! There is a huge timeout here for when we're doing CI on
383 # VMs. See lp:1203715
383 # VMs. See lp:1203715