2022-08-07 19:36:23 +02:00
|
|
|
*** Settings ***
|
|
|
|
Documentation A page object to use in Account settings tests.
|
|
|
|
...
|
|
|
|
Library SeleniumLibrary
|
|
|
|
Resource login_page.robot
|
2023-08-30 15:48:04 +02:00
|
|
|
Resource settings.resource
|
|
|
|
Resource ../common.resource
|
2022-08-07 19:36:23 +02:00
|
|
|
|
|
|
|
*** Variables ***
|
2022-08-16 09:05:36 +02:00
|
|
|
${ACCOUNT SETTINGS PAGE URL} ${ROOT URL}/settings/account
|
2022-08-07 19:36:23 +02:00
|
|
|
${PASSWORD FIELD FOR DELETE} css:form#frmDeleteAccount >> css:input#pwdPassword
|
|
|
|
${DELETE YOUR ACCOUNT BUTTON} btnDeleteAccount
|
|
|
|
|
|
|
|
*** Keywords ***
|
|
|
|
|
|
|
|
Account Settings Page Should Be Open
|
|
|
|
Location Should Be ${ACCOUNT SETTINGS PAGE URL}
|
|
|
|
|
|
|
|
Go To Account Settings Page
|
|
|
|
Go Authenticated To ${ACCOUNT SETTINGS PAGE URL}
|
|
|
|
|
2023-08-31 19:12:55 +02:00
|
|
|
Browse To Account Settings Tab
|
|
|
|
Browse To Settings Tab ${ACCOUNT TAB}
|
2023-08-30 15:48:04 +02:00
|
|
|
|
2022-08-07 19:36:23 +02:00
|
|
|
Delete User Account
|
2022-08-09 09:47:29 +02:00
|
|
|
Scroll To Bottom
|
2022-08-07 19:36:23 +02:00
|
|
|
Input Text ${PASSWORD FIELD FOR DELETE} ${PASSWORD}
|
|
|
|
Click Button ${DELETE YOUR ACCOUNT BUTTON}
|
|
|
|
Handle Alert
|
2023-08-04 14:06:23 +02:00
|
|
|
Wait Until Location Is Not ${ROOT URL}/settings/account
|