Showing
1 changed file
with
2 additions
and
17 deletions
... | ... | @@ -22,7 +22,6 @@ ${question_id} 0 |
22 | 22 | log ${tenders} |
23 | 23 | [return] ${internal_id} |
24 | 24 | |
25 | - | |
26 | 25 | Підготувати клієнт для користувача |
27 | 26 | [Arguments] @{ARGUMENTS} |
28 | 27 | [Documentation] Відкрити брaвзер, створити обєкт api wrapper, тощо |
... | ... | @@ -31,11 +30,11 @@ ${question_id} 0 |
31 | 30 | Set To Dictionary ${USERS.users['${ARGUMENTS[0]}']} creation_date ${creation_date} |
32 | 31 | Set To Dictionary ${USERS.users['${ARGUMENTS[0]}']} client ${api_wrapper} |
33 | 32 | Log Variables |
34 | - | |
33 | + | |
35 | 34 | Підготувати дані для оголошення тендера |
36 | 35 | ${INITIAL_TENDER_DATA}= prepare_test_tender_data |
37 | 36 | [return] ${INITIAL_TENDER_DATA} |
38 | - | |
37 | + | |
39 | 38 | Створити тендер |
40 | 39 | [Arguments] @{ARGUMENTS} |
41 | 40 | ${TENDER_DATA}= Call Method ${USERS.users['${ARGUMENTS[0]}'].client} create_tender ${ARGUMENTS[1]} |
... | ... | @@ -48,20 +47,6 @@ ${question_id} 0 |
48 | 47 | Log ${USERS.users['${ARGUMENTS[0]}'].TENDER_DATA} |
49 | 48 | [return] ${TENDER_DATA.data.tenderID} |
50 | 49 | |
51 | -Створити багатопредметний тендер | |
52 | - [Arguments] @{ARGUMENTS} | |
53 | - ${INITIAL_TENDER_DATA}= prepare_test_tender_data_multiple_items | |
54 | - Log object data ${INITIAL_TENDER_DATA} | |
55 | - ${TENDER_DATA}= Call Method ${USERS.users['${ARGUMENTS[0]}'].client} create_tender ${INITIAL_TENDER_DATA} | |
56 | - Log object data ${TENDER_DATA} cteated_tender | |
57 | - ${access_token}= Get Variable Value ${TENDER_DATA.access.token} | |
58 | - Set Global Variable ${access_token} | |
59 | - Set To Dictionary ${USERS.users['${ARGUMENTS[0]}']} access_token ${access_token} | |
60 | - Log access_token: ${access_token} | |
61 | - Log tender_id: ${TENDER_DATA.data.id} | |
62 | - Set Global Variable ${TENDER_DATA} | |
63 | - [return] ${TENDER_DATA} | |
64 | - | |
65 | 50 | Пошук тендера по ідентифікатору |
66 | 51 | [Arguments] @{ARGUMENTS} |
67 | 52 | [Documentation] | ... | ... |
Please
register
or
login
to post a comment