on xenial help sign in
Replace the calls to home scope for calls to clickscope. Updated the scope_id string.
commita85616f8ec70650e3c6fd77c01bf40360d795cb8 authorLeo Arias <leo.arias@canonical.com> dateSat 1 Mar 2014, 21:38 (13 years ago) parentc433755
2 files changed+3−3
tests/autopilot/unity8/shell/emulators/dash.py+2−2 tests/autopilot/unity8/shell/tests/__init__.py+1−1
tests/autopilot/unity8/shell/emulators/dash.py+2−2
@@ -54,8 +54,8 @@ class Dash(emulators.UnityEmulatorBase):
5454 resp_grid = app_grid.wait_select_single('ResponsiveGridView')
5555 return resp_grid.select_single('Tile', text=text)
5656
57− def get_scope(self, scope_name='home'):
58− scope_id = "%s.scope" % scope_name
57+ def get_scope(self, scope_name='clickscope'):
58+ scope_id = '%s' % scope_name
5959 return self.dash_content_list.select_single(
6060 'QQuickLoader', scopeId=scope_id)
6161
tests/autopilot/unity8/shell/tests/__init__.py+1−1
@@ -377,7 +377,7 @@ class UnityTestCase(AutopilotTestCase):
377377
378378 def assertUnityReady(self):
379379 dash = self.get_dash()
380− home_scope = dash.get_scope('home')
380+ home_scope = dash.get_scope('clickscope')
381381
382382 # FIXME! There is a huge timeout here for when we're doing CI on
383383 # VMs. See lp:1203715