Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
prozorro-sale
Auction front autotests
Commits
5ea75991
Commit
5ea75991
authored
Apr 20, 2021
by
Oleg Kachur
👽
Browse files
Merge branch 'vlad/english_incorrect_bid' into 'master'
Add test for CBD3-TE-MA-
UC-06
-03 See merge request
!58
parents
2e2505fc
4cf7c393
Pipeline
#20996
failed with stages
in 41 minutes and 23 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
src/regression_tests/MA-English/6_Work_with_bids/CBD3-TE-MA-UC-06-03.robot
0 → 100644
View file @
5ea75991
*** Settings ***
Documentation
6.Робота зi ставками
...
Подача невалідної ставки
...
https://confluence-sale.prozorro.org/pages/viewpage.action?pageId=60950735#id-ТестуванняМАEnglish-CBD3-TE-MA-UC-06-03
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 Bidders
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}
Open Browser Maximized
about:blank
${BIDDER_TOKEN[1]}
${BIDDER_URL_2}
=
Get Request and return participationUrl By
${ID}
${BIDDER_TOKEN[1]}
Allow Terms
${BIDDER_URL_2}
Round One
Switch Browser
chrome_
${BIDDER_TOKEN[1]}
Wait Until Element Is Visible
${BTN_BET}
30s
Input Text
${NUMBER_INPUT}
${${MINIMALSTEP} + ${AMOUNT}}
Click Button
${BTN_BET}
Accepted Bet
${${MINIMALSTEP} + ${AMOUNT}}
Під час ходу учасника ввести учасником НЕ валідні ставки та натиснути кнопку "Подати"
Switch Browser
chrome_
${BIDDER_TOKEN[0]}
Wait Until Element Is Visible
${BTN_BET}
1m
Input Text
${NUMBER_INPUT}
${${AMOUNT} + ${MINIMALSTEP} -1 }
Click Button
${BTN_BET}
${VALID_BID}
=
Evaluate
${AMOUNT}
+
${MINIMALSTEP}
Wait Until Page Contains Element
//div[@class='updates-list-item-status' and .='Ставка має бути від
${VALID_BID}
.00 грн']
Clear Text
${NUMBER_INPUT}
Input Text
${NUMBER_INPUT}
0
Click Button
${BTN_BET}
Element Should Be Disabled
${BTN_BET}
Clear Text
${NUMBER_INPUT}
Click Element
${NUMBER_INPUT}
Press Keys
${NUMBER_INPUT}
-2321
Page Should Contain Element
//input[@class='input-block' and @value="2'321.00"]
Clear Text
${NUMBER_INPUT}
Press Keys
${NUMBER_INPUT}
qwerty
Press Keys
${NUMBER_INPUT}
:/\']
Press Keys
${NUMBER_INPUT}
-12bdsa;'/
|
Page Should Contain Element
//input[@class='input-block' and @value="12.00"]
Clear Text
${NUMBER_INPUT}
Element Should Be Disabled
${BTN_BET}
*** Keywords ***
Clear Text
[
Arguments
]
${inputField}
Press Keys
${inputField}
CTRL+a+BACKSPACE
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment