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