'Scenario: Clicking on the requested button with email address or username
of a non existing student should result in error message.
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 non existing student email address or username
Then I should be shown an error message'

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

    self.entrance_exam_admin.set_student_email_or_username('non_existing@example.com')
    getattr(self.entrance_exam_admin, button_to_test).click()
    self.entrance_exam_admin.wait_for_ajax()
    self.assertGreater(len(self.entrance_exam_admin.top_notification.text[0]), 0)
