def click_about_nav_link(self): self.selenium.find_element(*self._about_content_nav_locator).click() from pages.about import About return About(self.testsetup)
def test_about_page_content(self, mozwebqa): about_page = About(mozwebqa) about_page.go_to_about_page() Assert.true(about_page.is_about_page_header_visible) Assert.true(about_page.is_about_page_text_visible)
def test_about_sidebar_content_is_visible(self, mozwebqa): about_page = About(mozwebqa) about_page.go_to_about_page() Assert.true(about_page.is_about_sidebar_faq_visible) Assert.true(about_page.is_about_sidebar_wiki_link_visible)
def click_about_link(self): self.find_element(*self._about_mozillians_link_locator).click() from pages.about import About return About(self.selenium, self.base_url)