2FAuth/tests/EndToEnd/Pages/password_request_page.robot
2023-08-30 15:48:04 +02:00

26 lines
758 B
Plaintext

*** Settings ***
Documentation A page object to use in password recovery tests.
...
Library SeleniumLibrary
Resource ../common.resource
*** Variables ***
${PASSWORD REQUEST PAGE URL} ${ROOT URL}/password/request
${EMAIL FIELD} emlEmail
${EMAIL FIELD ERROR} valErrorEmail
${SUBMIT BUTTON} btnSendResetPwd
*** Keywords ***
Password Request Page Should Be Open
Location Should Be ${PASSWORD REQUEST PAGE URL}
Go To Password Request Page
Go To ${PASSWORD REQUEST PAGE URL}
Submit Data To Password Request Form
[Arguments] ${email}
Input Text ${EMAIL FIELD} ${email}
Click Button ${SUBMIT BUTTON}
Email Field Should Show An Error
Field Should Show An Error ${EMAIL FIELD ERROR}