mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
22 lines
350 B
JavaScript
22 lines
350 B
JavaScript
class LoginPage {
|
|
goto() {
|
|
cy.visit('/')
|
|
}
|
|
|
|
enterEmail(email) {
|
|
cy.get('[id=Email-input-field]').clear().type(email)
|
|
return this
|
|
}
|
|
|
|
enterPassword(password) {
|
|
cy.get('[id=Passwors-input-field]').clear().type(password)
|
|
return this
|
|
}
|
|
|
|
submitLogin() {
|
|
cy.get('[type=submit]').click()
|
|
}
|
|
}
|
|
|
|
export default LoginPage
|