@@ -158,9 +158,9 @@ class GenericScopeViewEmulatorTestCase(DashBaseTestCase):
158158class DashAppsEmulatorTestCase(DashBaseTestCase):
159159
160160 available_applications = [
161− 'Title.1', 'Title.21', 'Title.41', 'Title.61', 'Title.81',
162− 'Title.101', 'Title.121', 'Title.141', 'Title.161', 'Title.181',
163− 'Title.201', 'Title.221', 'Title.241', 'Title.261', 'Title.281']
161+ 'Title.2.0', 'Title.2.1', 'Title.2.2', 'Title.2.3', 'Title.2.4',
162+ 'Title.2.5', 'Title.2.6', 'Title.2.7', 'Title.2.8', 'Title.2.9',
163+ 'Title.2.9', 'Title.2.10', 'Title.2.11']
164164
165165 def setUp(self):
166166 # Set up the fake scopes before launching unity.
@@ -178,21 +178,25 @@ class DashAppsEmulatorTestCase(DashBaseTestCase):
178178 'No category found with name unexisting category', str(exception))
179179
180180 def test_get_applications_should_return_list_with_names(self):
181− category = 'installed'
181+ category = '2'
182182 expected_apps_count = self._get_number_of_application_slots(category)
183183 expected_applications = self.available_applications[
184184 :expected_apps_count]
185185
186186 applications = self.applications_scope.get_applications(category)
187+ applications_titles = []
188+ for application in applications:
189+ cardHeader = application.select_single('CardHeader')
190+ applications_titles.append(cardHeader.title)
187191
188192 self.assertThat(applications, HasLength(expected_apps_count))
189193 for expected in expected_applications:
190− self.assertThat(applications, Contains(expected))
194+ self.assertThat(applications_titles, Contains(expected))
191195
192196 def _get_number_of_application_slots(self, category):
193197 category_element = self.applications_scope._get_category_element(
194198 category)
195− grid = category_element.select_single('GenericFilterGrid')
199+ grid = category_element.select_single('DashFilterGrid')
196200 return grid.columns * grid.rows
197201
198202 def test_open_preview(self):