Merge pull request #16103 from edx/HarryRein/bok-choy-removal-flaky

Remove Flaky StudentAdminTest test.
This commit is contained in:
Robert Raposa
2017-09-27 21:38:16 -04:00
committed by GitHub

View File

@@ -1374,15 +1374,6 @@ class StudentAdminTest(BaseInstructorDashboardTest):
self.username, _ = self.log_in_as_instructor()
self.instructor_dashboard_page = self.visit_instructor_dashboard()
def test_rescore_nonrescorable(self):
student_admin_section = self.instructor_dashboard_page.select_student_admin(StudentSpecificAdmin)
student_admin_section.set_student_email_or_username(self.username)
# not a rescorable block
student_admin_section.set_problem_location(self.vertical.locator)
getattr(student_admin_section, 'rescore_button').click()
self.assertTrue(self.instructor_dashboard_page.is_rescore_unsupported_message_visible())
def test_rescore_rescorable(self):
student_admin_section = self.instructor_dashboard_page.select_student_admin(StudentSpecificAdmin)
student_admin_section.set_student_email_or_username(self.username)