'Select the advanced settings tab'

def select_visibility_tab(self):

    self.q(css=".settings-tab-button[data-tab='visibility']").first.click()
    self.wait_for_element_presence('input[value=hide_after_due]', 'Visibility    fields    not    present.')
