def test_my_projects_link(self, page, driver): page.navbar.my_projects_link.click() assert MyProjectsPage(driver, verify=True)
def my_projects_page(driver): my_projects_page = MyProjectsPage(driver) my_projects_page.goto() return my_projects_page