'Verifies the confirmation message indicating that a cohort\'s settings have been updated.
Then refreshes the page and selects the cohort.'

def _verify_settings_saved_and_reload(self, cohort_name):

    confirmation_messages = self.cohort_management_page.get_cohort_settings_messages()
    self.assertEqual(['Saved    cohort'], confirmation_messages)
    self.browser.refresh()
    self.cohort_management_page.wait_for_page()
    self.cohort_management_page.select_cohort(cohort_name)
