'Scenario: Ensure that library xblocks do not have \'edit visibility\' buttons.
Given I have a library in Studio with no XBlocks
And I navigate to Library Page in Studio
When I add Text XBlock
Then one XBlock is displayed
And no \'edit visibility\' button is shown'

def test_no_edit_visibility_button(self):

    add_component(self.lib_page, 'html', 'Text')
    self.assertFalse(self.lib_page.xblocks[0].has_edit_visibility_button)
