'Scenario: The component visibility modal selects visible to all by default.
Given I have a unit with one component
When I go to the container page for that unit
And I open the visibility editor modal for that unit\'s component
Then the default visibility selection should be \'All Students and Staff\'
And the container page should not display the content visibility warning'

def test_default_selection(self):

    visibility_dialog = self.edit_component_visibility(self.html_component)
    self.verify_current_groups_message(visibility_dialog, self.ALL_LEARNERS_AND_STAFF)
    self.verify_selected_partition_scheme(visibility_dialog, self.CHOOSE_ONE)
    visibility_dialog.cancel()
    self.verify_visibility_set(self.html_component, False)
