16 lines
601 B
Gherkin
16 lines
601 B
Gherkin
Feature: SeleniumBase scenarios for the RealWorld App
|
|
|
|
Scenario: Verify RealWorld App (log in / sign out)
|
|
Given Open "seleniumbase.io/realworld/login"
|
|
And Clear Session Storage
|
|
When Type "demo_user" into "#username"
|
|
And Type "secret_pass" into "#password"
|
|
And Do MFA "GAXG2MTEOR3DMMDG" into "#totpcode"
|
|
Then Assert exact text "Welcome!" in "h1"
|
|
And Highlight "img#image1"
|
|
And Click 'a:contains("This Page")'
|
|
And Save screenshot to logs
|
|
When Click link "Sign out"
|
|
Then Assert element 'a:contains("Sign in")'
|
|
And Assert text "You have been signed out!"
|