mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
19 lines
391 B
TypeScript
19 lines
391 B
TypeScript
/// <reference types='cypress' />
|
|
|
|
export class ForgotPasswordPage {
|
|
// selectors
|
|
emailInput = 'input[type=email]'
|
|
submitBtn = 'button[type=submit]'
|
|
successComponent = '[data-test="forgot-password-success"]'
|
|
|
|
enterEmail(email: string) {
|
|
cy.get(this.emailInput).clear().type(email)
|
|
return this
|
|
}
|
|
|
|
submitEmail() {
|
|
cy.get(this.submitBtn).click()
|
|
return this
|
|
}
|
|
}
|