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

Merge branch 'vlad/btn_reject_fix' into 'master'

Fix BTN_REJECT_BET

See merge request !64
parents 52067527 9e565876
Pipeline #21247 failed with stages
in 39 minutes and 4 seconds
......@@ -8,7 +8,7 @@ BTN_CANCEL = '//button[.="не погоджуюсь"]'
ASK_DISCLAIMER = '//*[@id="bidder-form"]/span[contains(normalize-space(.), "Чи погоджуєтесь Ви з умовами аукціону?")]'
ACCEPTED_DISCLAIMER = '//div[@class="updates-list-item-status" and contains(normalize-space(.), "Ви погодились з умовами проведення аукціону")]'
BTN_EXIT = '//button[.="вийти"]'
BTN_BET_REJECT = '//div[@class="bidder-reject" and .="скасувати"]'
BTN_BET_REJECT = '//div[@class="bidder-reject " and .="скасувати"]'
NUMBER_INPUT = '//input[@id="number-input" and @placeholder="Введіть ставку"]'
ANNOUNCEMENT_RESULTS = '//h2[@class="secondary-title" and .="ОГОЛОШЕННЯ РЕЗУЛЬТАТІВ"]'
REFRESH_BET = '//button[@class="bidder-btn bidder-input-btn" and .="оновити ставку"]'
......
......@@ -125,8 +125,8 @@ Action - sealed bids
Click Button ${BTN_BET}
Wait Until Element Is Visible //span[contains(normalize-space(.), concat('Ставку прийнято: 1', "'", '100.00'))]
Wait Until Element Is Visible //div[@class="bidder-reject"and .="скасувати"]
Click Element //div[@class="bidder-reject" and .="скасувати"]
Wait Until Element Is Visible ${BTN_BET_REJECT}
Click Element ${BTN_BET_REJECT}
Input Text ${NUMBER_INPUT} 1050
Click Button ${BTN_BET}
......
......@@ -117,8 +117,8 @@ Action - sealed bids
Click Button ${BTN_BET}
Wait Until Element Is Visible //span[contains(normalize-space(.), concat('Ставку прийнято: 1', "'", '100.00'))]
Wait Until Element Is Visible //div[@class="bidder-reject"and .="скасувати"]
Click Element //div[@class="bidder-reject" and .="скасувати"]
Wait Until Element Is Visible ${BTN_BET_REJECT}
Click Element ${BTN_BET_REJECT}
Input Text ${NUMBER_INPUT} 1050
Click Button ${BTN_BET}
......
......@@ -110,8 +110,8 @@ Action - sealed bids
Click Button ${BTN_BET}
Wait Until Element Is Visible //span[contains(normalize-space(.), 'Ставку прийнято: 10')]
Wait Until Element Is Visible //div[@class="bidder-reject"and .="скасувати"]
Click Element //div[@class="bidder-reject"and .="скасувати"]
Wait Until Element Is Visible ${BTN_BET_REJECT}
Click Element ${BTN_BET_REJECT}
Input Text ${NUMBER_INPUT} 11
Click Button ${BTN_BET}
......
......@@ -117,8 +117,8 @@ Action - sealed bids
Click Button ${BTN_BET}
Wait Until Element Is Visible //span[contains(normalize-space(.), concat('Ставку прийнято: 1', "'", '100.00'))]
Wait Until Element Is Visible //div[@class="bidder-reject"and .="скасувати"]
Click Element //div[@class="bidder-reject" and .="скасувати"]
Wait Until Element Is Visible ${BTN_BET_REJECT}
Click Element ${BTN_BET_REJECT}
Input Text ${NUMBER_INPUT} 1050
Click Button ${BTN_BET}
......
......@@ -107,8 +107,8 @@ Action - sealed bids
Click Button ${BTN_BET}
Wait Until Element Is Visible //span[contains(normalize-space(.), concat('Ставку прийнято: 1', "'", '100.00'))]
Wait Until Element Is Visible //div[@class="bidder-reject"and .="скасувати"]
Click Element //div[@class="bidder-reject"and .="скасувати"]
Wait Until Element Is Visible ${BTN_BET_REJECT}
Click Element ${BTN_BET_REJECT}
Input Text ${NUMBER_INPUT} 1050
Click Button ${BTN_BET}
......
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