'Given that I am a staff member on the exam settings section
select advanced settings tab
When I Make the exam proctored.
And I login as a verified student.
And I verify the user\'s ID.
And visit the courseware as a verified student.
Then I can see an option to take the exam as a proctored exam.'

def test_proctored_exam_flow(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.make_exam_proctored()
    LogoutPage(self.browser).visit()
    self._login_as_a_verified_user()
    self._verify_user()
    self.courseware_page.visit()
    self.assertTrue(self.courseware_page.can_start_proctored_exam)
