DashFilterGrid -> CardFilterGrid in the tests
commitb0a3f988ac138e1d2a4b89a3c0922fdf0d66c0e7
authorAlbert Astals <albert.astals@canonical.com>
dateMon 17 Mar 2014, 11:42 (13 years ago)
parenteef2f25
tests/autopilot/unity8/shell/emulators/dash.py+1−1
@@ -38,7 +38,7 @@ class Dash(emulators.UnityEmulatorBase):
3838
3939 def get_applications_grid(self):
4040 get_grid = self.get_scope('clickscope').wait_select_single(
41− 'DashFilterGrid', objectName='local')
41+ 'CardFilterGrid', objectName='local')
4242 return get_grid
4343
4444 def get_application_icon(self, text):
tests/autopilot/unity8/shell/tests/test_emulators.py+1−1
@@ -184,7 +184,7 @@ class DashAppsEmulatorTestCase(DashBaseTestCase):
184184 def _get_number_of_application_slots(self, category):
185185 category_element = self.applications_scope._get_category_element(
186186 category)
187− grid = category_element.select_single('DashFilterGrid')
187+ grid = category_element.select_single('CardFilterGrid')
188188 return grid.columns * grid.rows
189189
190190 def test_open_preview(self):
tests/qmltests/Dash/tst_GenericScopeView.qml+1−1
@@ -145,7 +145,7 @@ Item {
145145 var header2 = findChild(genericScopeView, "dashSectionHeader2")
146146 var category2 = findChild(genericScopeView, "dashCategory2")
147147 var category2FilterGrid = category2.children[1].children[2];
148− verify(UT.Util.isInstanceOf(category2FilterGrid, "DashFilterGrid"));
148+ verify(UT.Util.isInstanceOf(category2FilterGrid, "CardFilterGrid"));
149149
150150 waitForRendering(header2);
151151 verify(category2.expandable);