on xenial help sign in
DashFilterGrid -> CardFilterGrid in the tests
b0a3f98Albert Astals
tests/autopilot/unity8/shell/emulators/dash.py+1−1
@@ -38,7 +38,7 @@ class Dash(emulators.UnityEmulatorBase):
38
38
39 def get_applications_grid(self):
39 def get_applications_grid(self):
40 get_grid = self.get_scope('clickscope').wait_select_single(
40 get_grid = self.get_scope('clickscope').wait_select_single(
41− 'DashFilterGrid', objectName='local')
41+ 'CardFilterGrid', objectName='local')
42 return get_grid
42 return get_grid
43
43
44 def get_application_icon(self, text):
44 def get_application_icon(self, text):
tests/autopilot/unity8/shell/tests/test_emulators.py+1−1
@@ -184,7 +184,7 @@ class DashAppsEmulatorTestCase(DashBaseTestCase):
184 def _get_number_of_application_slots(self, category):
184 def _get_number_of_application_slots(self, category):
185 category_element = self.applications_scope._get_category_element(
185 category_element = self.applications_scope._get_category_element(
186 category)
186 category)
187− grid = category_element.select_single('DashFilterGrid')
187+ grid = category_element.select_single('CardFilterGrid')
188 return grid.columns * grid.rows
188 return grid.columns * grid.rows
189
189
190 def test_open_preview(self):
190 def test_open_preview(self):
tests/qmltests/Dash/tst_GenericScopeView.qml+1−1
@@ -145,7 +145,7 @@ Item {
145 var header2 = findChild(genericScopeView, "dashSectionHeader2")
145 var header2 = findChild(genericScopeView, "dashSectionHeader2")
146 var category2 = findChild(genericScopeView, "dashCategory2")
146 var category2 = findChild(genericScopeView, "dashCategory2")
147 var category2FilterGrid = category2.children[1].children[2];
147 var category2FilterGrid = category2.children[1].children[2];
148− verify(UT.Util.isInstanceOf(category2FilterGrid, "DashFilterGrid"));
148+ verify(UT.Util.isInstanceOf(category2FilterGrid, "CardFilterGrid"));
149
149
150 waitForRendering(header2);
150 waitForRendering(header2);
151 verify(category2.expandable);
151 verify(category2.expandable);