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

Merge branch 'refactor/smoke_minor_fix' into 'master'

Add pause on smoke run

See merge request !81
parents 45b9172b 19f61a9d
Pipeline #29994 passed with stages
in 60 minutes and 2 seconds
......@@ -119,7 +119,7 @@ Action - sealed bids
Wait Until Element Is Visible ${BTN_BET_REJECT}
Click Element ${BTN_BET_REJECT}
Sleep 1s
Input Text ${NUMBER_INPUT} 1050
Click Button ${BTN_BET}
Wait Until Element Is Visible //span[contains(normalize-space(.), concat('Ставку прийнято: 1', "'", '050.00'))]
......
......@@ -119,7 +119,7 @@ Action - sealed bids
Wait Until Element Is Visible ${BTN_BET_REJECT}
Click Element ${BTN_BET_REJECT}
Sleep 1s
Input Text ${NUMBER_INPUT} 1050
Click Button ${BTN_BET}
Wait Until Element Is Visible //span[contains(normalize-space(.), concat('Ставку прийнято: 1', "'", '050.00'))]
......
......@@ -25,11 +25,13 @@ Page have working buttons
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
Sleep 2s
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
Click Button //button [@class="btn btn-info" and contains(text(), "← Previous page")]
Sleep 2s
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