From b6aff95ab1af383ee2b872ecee22e3e4727b4ac3 Mon Sep 17 00:00:00 2001 From: Sofiya Semenova Date: Tue, 19 Sep 2017 16:36:03 -0400 Subject: [PATCH] Removed flakey test --- .../studio/test_studio_settings_details.py | 33 ------------------- 1 file changed, 33 deletions(-) diff --git a/common/test/acceptance/tests/studio/test_studio_settings_details.py b/common/test/acceptance/tests/studio/test_studio_settings_details.py index c6682092b9..1564c4a2d6 100644 --- a/common/test/acceptance/tests/studio/test_studio_settings_details.py +++ b/common/test/acceptance/tests/studio/test_studio_settings_details.py @@ -138,39 +138,6 @@ class SettingsMilestonesTest(StudioSettingsDetailsTest): """ self.assertTrue(self.settings_detail.entrance_exam_field) - def test_enable_entrance_exam_for_course(self): - """ - Test that entrance exam should be created after checking the 'enable entrance exam' checkbox. - And also that the entrance exam is destroyed after deselecting the checkbox. - """ - self.settings_detail.require_entrance_exam(required=True) - self.settings_detail.save_changes() - - # getting the course outline page. - course_outline_page = CourseOutlinePage( - self.browser, self.course_info['org'], self.course_info['number'], self.course_info['run'] - ) - course_outline_page.visit() - - # title with text 'Entrance Exam' should be present on page. - self.assertTrue(element_has_text( - page=course_outline_page, - css_selector='span.section-title', - text='Entrance Exam' - )) - - # Delete the currently created entrance exam. - self.settings_detail.visit() - self.settings_detail.require_entrance_exam(required=False) - self.settings_detail.save_changes() - - course_outline_page.visit() - self.assertFalse(element_has_text( - page=course_outline_page, - css_selector='span.section-title', - text='Entrance Exam' - )) - def test_entrance_exam_has_unit_button(self): """ Test that entrance exam should be created after checking the 'enable entrance exam' checkbox.