'Scenario: Clicking on the requested button with valid student email
address or username should result in success prompt.
Given that I am on the Student Admin tab on the Instructor Dashboard
When I click the requested button under Entrance Exam Grade
Adjustment after entering a valid student
email address or username
Then I should be shown an alert with success message'

@ddt.data(*admin_buttons)
def test_admin_button_with_success(self, button_to_test):

    self.entrance_exam_admin.set_student_email_or_username(self.student_identifier)
    getattr(self.entrance_exam_admin, button_to_test).click()
    alert = get_modal_alert(self.entrance_exam_admin.browser)
    alert.dismiss()
