@@ -190,14 +190,10 @@ class DashAppsEmulatorTestCase(DashBaseTestCase):
190 :expected_apps_count]
190 :expected_apps_count]
192 applications = self.applications_scope.get_applications(category)
192 applications = self.applications_scope.get_applications(category)
193− applications_titles = []
194− for application in applications:
195− cardHeader = application.select_single('CardHeader')
196− applications_titles.append(cardHeader.title)
198 self.assertThat(applications, HasLength(expected_apps_count))
194 self.assertThat(applications, HasLength(expected_apps_count))
199 for expected in expected_applications:
195 for expected in expected_applications:
200− self.assertThat(applications_titles, Contains(expected))
196+ self.assertThat(applications, Contains(expected))
202 def _get_number_of_application_slots(self, category):
198 def _get_number_of_application_slots(self, category):
203 category_element = self.applications_scope._get_category_element(
199 category_element = self.applications_scope._get_category_element(