@@ -36,11 +36,9 @@ class Dash(emulators.UnityEmulatorBase):
36 self.dash_content_list = self.wait_select_single(
36 self.dash_content_list = self.wait_select_single(
37 'QQuickListView', objectName='dashContentList')
37 'QQuickListView', objectName='dashContentList')
39− def get_home_applications_grid(self):
39+ def get_applications_grid(self):
40− get_grid = self.get_scope('home').wait_select_single(
40+ get_grid = self.get_scope('clickscope').wait_select_single(
41− "GenericFilterGrid",
41+ 'DashFilterGrid', objectName='local')
42− objectName="applications.scope"
44 return get_grid
42 return get_grid
46 def get_application_icon(self, text):
44 def get_application_icon(self, text):
@@ -50,7 +48,7 @@ class Dash(emulators.UnityEmulatorBase):
50 :param text: String containing the text of the icon to search for.
48 :param text: String containing the text of the icon to search for.
53− app_grid = self.get_home_applications_grid()
51+ app_grid = self.get_applications_grid()
54 resp_grid = app_grid.wait_select_single('ResponsiveGridView')
52 resp_grid = app_grid.wait_select_single('ResponsiveGridView')
55 return resp_grid.select_single('Tile', text=text)
53 return resp_grid.select_single('Tile', text=text)