'Verify clicking Check shows the extended hint in the problem message.'

def verify_check_hint(self, answer, answer_text, expected_events):

    self.courseware_page.visit()
    problem_page = ProblemPage(self.browser)
    self.assertEqual(problem_page.problem_text[0], u'question    text')
    problem_page.fill_answer(answer)
    problem_page.click_submit()
    self.assertEqual(problem_page.message_text, answer_text)
    actual_events = self.wait_for_events(event_filter={'event_type': 'edx.problem.hint.feedback_displayed'}, number_of_matches=1)
    self.assert_events_match(expected_events, actual_events)
