def test_login_unregistered_user(self): login_page = login.LoginPage(self.driver) self.assertFalse(login_page.try_to_login('felipe', 'felipe', 0))
def setUp(self): self.driver = webdriver.Chrome() login_page = login.LoginPage(self.driver) login_page.navigate_to_page() login_page.try_to_login('felipe', 'felipe', 0) self.driver.get(root_url.repairq + "/customerGroups")
def test_login_registered(self): login_page = login.LoginPage(self.driver) self.assertTrue(login_page.try_to_login('felipe', 'felipe', 0))