Commit 0603d032 authored by Vladyslav Koval's avatar Vladyslav Koval
Browse files

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

Attempt to place a empty bid and click bet button
parent 22087968
Pipeline #20988 failed with stages
in 36 minutes and 23 seconds
*** Settings ***
Documentation 6.Робота зi ставками
... Поле поданої ставки пусте
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 ***
Початок аукціону та перевірка стану
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