diff --git a/common/djangoapps/terrain/steps.py b/common/djangoapps/terrain/steps.py index 616991c58d..b44cc2d030 100644 --- a/common/djangoapps/terrain/steps.py +++ b/common/djangoapps/terrain/steps.py @@ -65,7 +65,7 @@ def i_should_be_on_the_dashboard(step): @step(u'I (?:visit|access|open) the courses page$') def i_am_on_the_courses_page(step): world.visit('/courses') - assert world.is_css_present('section.courses') + assert world.is_css_present('div.courses') @step(u'I press the "([^"]*)" button$') diff --git a/lms/djangoapps/branding/tests/test_page.py b/lms/djangoapps/branding/tests/test_page.py index ac4357e4f0..4b3c725a8c 100644 --- a/lms/djangoapps/branding/tests/test_page.py +++ b/lms/djangoapps/branding/tests/test_page.py @@ -220,7 +220,7 @@ class IndexPageCourseCardsSortingTests(ModuleStoreTestCase): self.assertNotIn('