Removed student entrance test
This commit is contained in:
@@ -84,25 +84,3 @@ class EntranceExamPassTest(EntranceExamTest):
|
||||
</problem>
|
||||
""")
|
||||
return XBlockFixtureDesc('problem', 'HEIGHT OF EIFFEL TOWER', data=xml)
|
||||
|
||||
# TODO: TNL-6546: Delete test using outline on courseware
|
||||
def test_course_is_unblocked_as_soon_as_student_passes_entrance_exam_2(self):
|
||||
"""
|
||||
Scenario: Ensure that entrance exam status message is updated and courseware is unblocked as soon as
|
||||
student passes entrance exam.
|
||||
Given I have a course with entrance exam as pre-requisite
|
||||
When I pass entrance exam
|
||||
Then I can see complete TOC of course
|
||||
And I can see message indicating my pass status
|
||||
"""
|
||||
self.courseware_page.visit()
|
||||
problem_page = ProblemPage(self.browser)
|
||||
self.assertEqual(problem_page.wait_for_page().problem_name,
|
||||
'HEIGHT OF EIFFEL TOWER')
|
||||
self.assertTrue(self.courseware_page.has_entrance_exam_message())
|
||||
self.assertFalse(self.courseware_page.has_passed_message())
|
||||
problem_page.click_choice('choice_1')
|
||||
problem_page.click_submit()
|
||||
self.courseware_page.wait_for_page()
|
||||
self.assertTrue(self.courseware_page.has_passed_message())
|
||||
self.assertEqual(self.courseware_page.num_sections, 2)
|
||||
|
||||
Reference in New Issue
Block a user