def test_phantom_login(mozwebqa): """https://bugzilla.redhat.com/show_bug.cgi?id=996284""" login_pg = LoginPage(mozwebqa) login_pg.go_to_login_page() next_pg = login_pg.login_and_send_window_size() Assert.not_equal(next_pg.get_context_current_page(), '/', "Phantom Login - Got redirected back to the login page after logging in")
def test_phantom_login(mozwebqa): """https://bugzilla.redhat.com/show_bug.cgi?id=996284""" login_pg = LoginPage(mozwebqa) login_pg.go_to_login_page() next_pg = login_pg.login_and_send_window_size() Assert.not_equal( next_pg.get_context_current_page(), '/', "Phantom Login - Got redirected back to the login page after logging in" )
def test_that_checks_for_phantom_login(mozwebqa): login_pg = LoginPage(mozwebqa) login_pg.go_to_login_page() next_pg = login_pg.login_and_send_window_size() Assert.not_equal(next_pg.get_context_current_page(), '/', "This is still the login page")
def test_that_checks_for_phantom_login(mozwebqa): login_pg = LoginPage(mozwebqa) login_pg.go_to_login_page() next_pg = login_pg.login_and_send_window_size() Assert.not_equal(next_pg.get_context_current_page(), "/", "This is still the login page")