'Scenario: Verifies that show answer button is working as expected.
Given that I am on courseware page
And I can see a CAPA problem with show answer button
When I click "Show Answer" button
The correct answer is displayed with a single correctness indicator.'

@attr(shard=7)
def test_can_show_answer(self):

    self.answer_problem('correct')
    self.assertFalse(self.problem_page.is_correct_choice_highlighted(correct_choices=[3]))
    self.problem_page.click_submit()
    self.assertTrue(self.problem_page.is_correct_choice_highlighted(correct_choices=[3]))
    self.answer_problem('incorrect')
    self.assertFalse(self.problem_page.is_correct_choice_highlighted(correct_choices=[3]))
    self.problem_page.click_show()
    self.assertTrue(self.problem_page.is_correct_choice_highlighted(correct_choices=[3]))
    self.problem_page.wait_for_show_answer_notification()
