Commit c8f4a76e authored by Oleg Kachur's avatar Oleg Kachur 👽
Browse files

Merge branch 'smoke_fix' into 'master'

Fix smoke tests

See merge request !46
parents 23299b64 3f33c97d
Pipeline #19996 failed with stages
in 27 minutes and 50 seconds
......@@ -21,12 +21,17 @@ Page have action
Page have working buttons
[Documentation] Next page → and ← Previous page
Wait Until Page Contains Element //button [@class="btn btn-info" and contains(text(), "Next page →")] 20 s
Wait Until Element Is Enabled //button [@class="btn btn-info" and contains(text(), "Next page →")] 20s
Element Should Be Disabled //button [@class="btn btn-info" and contains(text(), "← Previous page")]
Click Button //button [@class="btn btn-info" and contains(text(), "Next page →")]
Wait Until Location Is Not %{AUCTION_URL} 20 s
Wait Until Element Is Enabled //button [@class="btn btn-info" and contains(text(), "Next page →")]
Element Should Be Enabled //button [@class="btn btn-info" and contains(text(), "← Previous page")]
${NEXT_URL}= Get Location
Wait Until Element Is Visible //button [@class="btn btn-info" and contains(text(), "← Previous page")] 20 s
Click Button //button [@class="btn btn-info" and contains(text(), "← Previous page")]
Wait Until Element Is Enabled //button [@class="btn btn-info" and contains(text(), "Next page →")]
Element Should Be Disabled //button [@class="btn btn-info" and contains(text(), "← Previous page")]
Wait Until Location Is Not ${NEXT_URL} 20 s
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment