def test_something(self, userlogin, password): start = StartPage(self.driver) start.singInButton_click() login = LoginPage(self.driver) login.emailInput(userlogin) login.passwordInput(password) login.clickSihgInButton()
def test_login(self): start = StartPage(self.driver) start.singInButton_click() login = LoginPage(self.driver) login.emailInput('*****@*****.**') login.passwordInput('12345+') login.clickSihgInButton() self.account = AccountPage(self.driver) self.account._validate_page(self.driver) self.account.order_history().click()