'Creates a proctored exam and makes the student attempt it so that
the associated allowance and attempts are visible on the Instructor Dashboard.'

def _create_a_proctored_exam_and_attempt(self):

    LogoutPage(self.browser).visit()
    self._auto_auth('STAFF_TESTER', 'staff101@example.com', True)
    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.courseware_page.visit()
    self.courseware_page.start_proctored_exam()
