Commit 9e565876 authored by Vladyslav Koval's avatar Vladyslav Koval
Browse files

Fix BTN_REJECT_BET

bidder-reject button now contains whitespace after class name
parent 52067527
Pipeline #21187 failed with stages
in 41 minutes and 29 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}
......
Supports Markdown
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