'Given that I am a staff member
And I have visited the course outline page in studio.
And the subsection edit dialog is open
select advanced settings tab
For each of None, Timed, Proctored, and Practice exam types
The time allotted and review rules fields have proper visibility
None: False, False
Timed: True, False
Proctored: True, True
Practice: True, False'

def test_field_visiblity_with_all_exam_types(self):

    LogoutPage(self.browser).visit()
    auto_auth(self.browser, 'STAFF_TESTER', 'staff101@example.com', True, self.course_id)
    self.studio_course_outline.visit()
    self.studio_course_outline.open_subsection_settings_dialog()
    self.studio_course_outline.select_advanced_tab()
    self.studio_course_outline.select_none_exam()
    self.assertFalse(self.studio_course_outline.time_allotted_field_visible())
    self.assertFalse(self.studio_course_outline.exam_review_rules_field_visible())
    self.studio_course_outline.select_timed_exam()
    self.assertTrue(self.studio_course_outline.time_allotted_field_visible())
    self.assertFalse(self.studio_course_outline.exam_review_rules_field_visible())
    self.studio_course_outline.select_proctored_exam()
    self.assertTrue(self.studio_course_outline.time_allotted_field_visible())
    self.assertTrue(self.studio_course_outline.exam_review_rules_field_visible())
    self.studio_course_outline.select_practice_exam()
    self.assertTrue(self.studio_course_outline.time_allotted_field_visible())
    self.assertFalse(self.studio_course_outline.exam_review_rules_field_visible())
