'Scenario: Verify that the save button performs as expected with problem types
Given that I am on a problem page
And I can see a CAPA problem with the Save button present
When I select and answer and click the "Save" button
Then I should see the Save notification
And the Save button should not be disabled
And clicking on "Review" moves focus to the problem meta area
And if I change the answer selected
Then the Save notification should be removed'

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

    self.problem_page.wait_for((lambda : (self.problem_page.problem_name == self.problem_name)), 'Make    sure    the    correct    problem    is    on    the    page')
    self.problem_page.wait_for_page()
    self.answer_problem(correctness='correct')
    self.assertTrue(self.problem_page.is_save_button_enabled())
    self.problem_page.click_save()
    self.assertTrue(self.problem_page.is_save_button_enabled())
    self.problem_page.wait_for_save_notification()
    self.problem_page.click_review_in_notification(notification_type='save')
    self.problem_page.wait_for_focus_on_problem_meta()
    if self.can_update_save_notification:
        self.answer_problem(correctness='incorrect')
        self.assertFalse(self.problem_page.is_save_notification_visible())
