Commit 01beb2a2 authored by Oleg Kachur's avatar Oleg Kachur 👽
Browse files

Merge branch 'refctor_english_mod_5_6' into 'master'

(refactor) slight fix for module 5 and 6

See merge request !79
parents 840ef925 06cfddaf
Pipeline #23464 failed with stages
in 1 minute and 39 seconds
......@@ -59,10 +59,11 @@ Init Bidder
Switch Browser chrome_${BIDDER_TOKEN[1]}
Wait Until Page Contains Element //span[@class='bidder-info-text' and contains(.,'Ваш хід в ')]
Switch Browser chrome_${BIDDER_TOKEN[2]}
Wait Until Page Contains Element ${BTN_BET} 1m
Wait Until Element Is Visible //li[@class='steps-list-item is-current' and contains(., "Раунд 1")] 30s
Wait Until Page Contains Element ${BTN_BET} 20s
Element Should Be Disabled ${BTN_BET}
${MINIMAL_BET} = Evaluate ${MINIMALSTEP} + ${AMOUNT}
Wait Until Page Contains Element //time[@class='spinner-time']
Page Should Contain Element ${NUMBER_INPUT}
......
......@@ -3,7 +3,7 @@ Documentation 5.Функціональні особливості відобр
... Блок Bid Updates
... https://confluence-sale.prozorro.org/pages/viewpage.action?pageId=60950735#id-ТестуванняМАEnglish-CBD3-TE-MA-UC-05-09
Default Tags module_1
#Default Tags module_1
Library String
Library DateTime
......
......@@ -38,6 +38,7 @@ Init Watcher
Init Bidder
${BIDDER_URL_3} = Get Request and return participationUrl By ${ID} ${BIDDER_TOKEN[2]}
Log ${BIDDER_URL_3}
Open Browser Maximized ${BIDDER_URL_3} ${BIDDER_TOKEN[2]}
Wait Until Page Contains Element ${BTN_ACCEPT}
Click Button ${BTN_ACCEPT}
......@@ -45,8 +46,10 @@ Init Bidder
Перейти до аукціону до його початку
Switch Browser chrome_${WATCHER}
Sleep 1s
Page Should Contain Element //h3[@class='label-auction' and contains(.,'Аукціон розпочнеться')]
Switch Browser chrome_${BIDDER_TOKEN[2]}
Sleep 1s
Page Should Contain Element //h3[@class='label-auction' and contains(.,'Аукціон розпочнеться')]
Дочекатися початку аукціону
......@@ -56,7 +59,7 @@ Init Bidder
Input Text ${NUMBER_INPUT} ${2 * ${MINIMALSTEP} + ${AMOUNT}}
Click Button ${BTN_BET}
Wait Until Page Contains Element //div[@class='steps-list-item-status' and .='Початок аукціону']
Wait Until Page Contains Element //div[@class='steps-list-item-status' and .='Раунд 2']
Wait Until Page Contains Element //div[@class='steps-list-item-status' and .='Раунд 1']
Wait Until Page Contains Element //div[@class='steps-list-item-status' and .='Раунд 2']
Wait Until Page Contains Element //div[@class='steps-list-item-status' and .='Раунд 3']
Wait Until Page Contains Element //div[@class='steps-list-item-status' and .='Оголошення результатів']
......
......@@ -27,6 +27,8 @@ Init Bidders
Open Browser Maximized about:blank ${BIDDER_TOKEN[2]}
${BIDDER_URL_3} = Get Request and return participationUrl By ${ID} ${BIDDER_TOKEN[2]}
Log ${BIDDER_URL_3}
Allow Terms ${BIDDER_URL_3}
1. Під час закритого ходу учасника подати ставку * 10
......@@ -82,6 +84,7 @@ Init Bidders
Click Button ${BTN_CANCEL_BET}
Page Should Not Contain Element ${MORE_THEN_10_TIME}
Wait Until Page Contains Element //input[@class='input-block' and @value="${CHECK_BET}"]
Log ${CHECK_BET}
Click Button ${BTN_BET}
Wait Until Element Is Visible ${MORE_THEN_10_TIME}
Click Element ${BTN_ACCEPT_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