'Uploads a new textbook
Runs an accessibility test on the textbook page in lms'

@attr('a11y')
def test_textbook_page_a11y(self):

    self.textbook_upload_page.upload_new_textbook()
    self.textbook_view_page.visit()
    self.textbook_view_page.a11y_audit.config.set_rules({'ignore': ['section']})
    self.textbook_view_page.a11y_audit.check_for_accessibility_errors()
