Merge pull request #13312 from edx/muddasser/TNL-5315
lms/navigation.feature to bokchoy
This commit is contained in:
@@ -732,6 +732,7 @@ class HighLevelTabTest(UniqueCourseTest):
|
||||
}
|
||||
|
||||
actual_sections = self.course_nav.sections
|
||||
|
||||
for section, subsections in EXPECTED_SECTIONS.iteritems():
|
||||
self.assertIn(section, actual_sections)
|
||||
self.assertEqual(actual_sections[section], EXPECTED_SECTIONS[section])
|
||||
@@ -747,6 +748,10 @@ class HighLevelTabTest(UniqueCourseTest):
|
||||
for expected in EXPECTED_ITEMS:
|
||||
self.assertIn(expected, actual_items)
|
||||
|
||||
# Navigate to a particular section other than the default landing section.
|
||||
self.course_nav.go_to_section('Test Section 2', 'Test Subsection 3')
|
||||
self.assertTrue(self.course_nav.is_on_section('Test Section 2', 'Test Subsection 3'))
|
||||
|
||||
|
||||
@attr(shard=1)
|
||||
class PDFTextBooksTabTest(UniqueCourseTest):
|
||||
|
||||
Reference in New Issue
Block a user