mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-04-12 11:38:29 +02:00
Handle small viewport correctly in E2E tests
This commit is contained in:
parent
8ac0b40cf5
commit
ad2e226ca4
@ -36,6 +36,7 @@ Submit Credentials To Legacy Form Login
|
||||
[Arguments] ${email} ${password}
|
||||
Input Text ${EMAIL FIELD} ${email}
|
||||
Input Text ${PASSWORD FIELD} ${password}
|
||||
Scroll To Bottom
|
||||
Click Button ${SIGN IN BUTTON}
|
||||
|
||||
Email Field Should Show An Error
|
||||
|
@ -31,6 +31,7 @@ Submit Account Data To Registration Form
|
||||
Input Text ${EMAIL FIELD} ${email}
|
||||
Input Text ${PASSWORD FIELD} ${password}
|
||||
Input Text ${PASSWORD CONFIRMATION FIELD} ${password confirmation}
|
||||
Scroll To Bottom
|
||||
Click Button ${REGISTER BUTTON}
|
||||
|
||||
Username Field Should Show An Error
|
||||
|
@ -19,6 +19,7 @@ Go To Account Settings Page
|
||||
Go Authenticated To ${ACCOUNT SETTINGS PAGE URL}
|
||||
|
||||
Delete User Account
|
||||
Scroll To Bottom
|
||||
Input Text ${PASSWORD FIELD FOR DELETE} ${PASSWORD}
|
||||
Click Button ${DELETE YOUR ACCOUNT BUTTON}
|
||||
Handle Alert
|
||||
|
@ -27,6 +27,7 @@ Open Blank Browser
|
||||
# Create Webdriver Chrome chrome_options=${options}
|
||||
# Go To ${HOME PAGE URL}
|
||||
Open Browser ${HOME PAGE URL} Chrome
|
||||
Maximize Browser Window
|
||||
|
||||
Go Authenticated To
|
||||
[Arguments] ${url}
|
||||
@ -43,4 +44,7 @@ An Error Notification Should Appear
|
||||
Field Should Show An Error
|
||||
[Arguments] ${field error}
|
||||
Element Should Be Visible ${field error}
|
||||
Should Not Be Empty ${field error}
|
||||
Should Not Be Empty ${field error}
|
||||
|
||||
Scroll To Bottom
|
||||
Execute Javascript window.scrollTo(0,document.body.scrollHeight)
|
Loading…
Reference in New Issue
Block a user