Commit 2e2505fc authored by Oleg Kachur's avatar Oleg Kachur 👽
Browse files

Merge branch 'vlad/english_empty_bid' into 'master'

Add test for CBD3-TE-MA-UC-06-01

See merge request !57
parents 3d3750d2 0603d032
Pipeline #20995 failed with stages
in 41 minutes and 34 seconds
*** Settings ***
Documentation 6.Робота зi ставками
... Поле поданої ставки пусте
... https://confluence-sale.prozorro.org/pages/viewpage.action?pageId=60950735#id-ТестуванняМАEnglish-CBD3-TE-MA-UC-06-01
Library String
Library DateTime
Resource ../fixtures/Resources/auction_conditions.robot
Test Setup Check For Pass Before
Suite Setup Create Session api_procedures %{PROCEDURE_URL} verify=True
Suite Teardown Run Keywords Delete All Sessions Close All Browsers
*** Variables ***
${AUCTION_NAME} timber-english-initial-auction
*** Test Cases ***
Початок аукціону та перевірка стану
Post Now ${AUCTION_NAME}
Check Action Status active_auction
Init Bidder
Open Browser Maximized about:blank ${BIDDER_TOKEN[0]}
${BIDDER_URL_1} = Get Request and return participationUrl By ${ID} ${BIDDER_TOKEN[0]}
Allow Terms ${BIDDER_URL_1}
Під час ходу учасника поле вводу ставки залишити пустим.
[Documentation] If bid is empty, page should not contain reject bid button
... reject button checked in CBD3-TE-MA-UC-06-04
Wait Until Page Contains Element ${BTN_BET} 1m
Page Should Contain Element ${NUMBER_INPUT}
Click Button ${BTN_BET}
Page Should Not Contain //div[@class='updates-list-item-status' and contains(.,'Ви зробили ставку')]
Element Should Be Disabled ${BTN_BET}
Page Should Not Contain Element ${BTN_BET_REJECT}
\ No newline at end of file
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