def test_trunner_link_logout_user(browser): """Test that Trunner_link is clickable and redirect user to the welcome page (if user is logout)""" about_page = AboutPage(browser) about_page.load() about_page.trunner_lnk_click() assert browser.current_url == locators.WelcomePageLocators.WELCOME_URL
def test_trunner_link_logon_user(browser, login, close): """Test that Trunner_link is clickable and redirect user to the Suites(if user is logon)""" about_page = AboutPage(browser) about_page.load() about_page.trunner_lnk_click() assert browser.current_url == locators.SuitesPageLocators.SUITES_URL