'Scenario: In a course with content groups, cohorts can be linked to content groups
Given I have a course with a cohort defined and content groups defined
When I view the cohort in the instructor dashboard and select settings
And I link the cohort to one of the content groups and save
Then there is a notification that my cohort has been saved
And when I reload the page
And I view the cohort in the instructor dashboard and select settings
Then the cohort is still linked to the content group'

def test_link_to_content_group(self):

    self._link_cohort_to_content_group(self.cohort_name, 'Bananas')
    self.assertEqual('Bananas', self.cohort_management_page.get_cohort_associated_content_group())
