'Scenario: The unit visibility modal can be set to be visible to all students and staff.
Given I have a unit
When I go to the container page for that unit
And I open the visibility editor modal for that unit
And I select \'Dogs\'
And I save the modal
Then I re-open the modal, the unit access modal should display the content visibility settings
Then after re-opening the modal again
And I select \'All Learners and Staff\'
And I save the modal
And I re-open the modal, the unit access modal should display that no content is restricted'

def test_reset_unit_access_to_all_students_and_staff(self):

    self.select_and_verify_unit_group_access(self.container_page, self.CONTENT_GROUP_PARTITION, ['Dogs'])
    self.verify_unit_visibility_set(self.container_page, set_groups=['Dogs'])
    self.select_and_verify_unit_group_access(self.container_page, self.ALL_LEARNERS_AND_STAFF)
    self.verify_unit_visibility_set(self.container_page)
