def test_auth_correct(driver): index_page = IndexPage(driver) index_page.open() index_page.login("admin", "qwerty") assert index_page.logoutPresence(120)
def test_auth_incorrect(driver): index_page = IndexPage(driver) index_page.open() index_page.login("admin", "dsfsdf") assert not index_page.logoutPresence(10)