Commit 907b22aa01f11948c24d9e2b5611384ec9aee294

Authored by biviktorqc
2 parents f451e93a 9f9fd974

Merge branch 'pc2' into pc2r

Conflicts:
	op_robot_tests/tests_files/brokers/etender.robot
	op_robot_tests/tests_files/brokers/netcast.robot
	op_robot_tests/tests_files/brokers/newtend.robot
	op_robot_tests/tests_files/brokers/openprocurement_client.robot
	op_robot_tests/tests_files/brokers/publicbid.robot
	op_robot_tests/tests_files/data/users.yaml
	op_robot_tests/tests_files/service_keywords.py
	op_robot_tests/tests_files/singleItemTender.robot
@@ -5,6 +5,8 @@ Library DateTime @@ -5,6 +5,8 @@ Library DateTime
5 5
6 *** Variables *** 6 *** Variables ***
7 ${locator.tenderId} jquery=h3 7 ${locator.tenderId} jquery=h3
  8 +##Використовую такий шлях у кожного буде мінятись /yboi/. Міняйте на сві шлях до файлу
  9 +${file_path} /home/yboi/openprocurement.robottests.buildout/Document.docx
8 10
9 *** Keywords *** 11 *** Keywords ***
10 Підготувати клієнт для користувача 12 Підготувати клієнт для користувача
@@ -25,30 +27,30 @@ ${locator.tenderId} jquery=h3 @@ -25,30 +27,30 @@ ${locator.tenderId} jquery=h3
25 [Arguments] @{ARGUMENTS} 27 [Arguments] @{ARGUMENTS}
26 [Documentation] 28 [Documentation]
27 ... ${ARGUMENTS[0]} == username 29 ... ${ARGUMENTS[0]} == username
28 - ... ${ARGUMENTS[1]} == tender_data  
29 - ${tender_data}= Add_time_for_GUI_FrontEnds ${ARGUMENTS[1]}  
30 - ${items}= Get From Dictionary ${tender_data.data} items  
31 - ${title}= Get From Dictionary ${tender_data.data} title  
32 - ${description}= Get From Dictionary ${tender_data.data} description  
33 - ${budget}= Get From Dictionary ${tender_data.data.value} amount  
34 - ${step_rate}= Get From Dictionary ${tender_data.data.minimalStep} amount  
35 - ${items_description}= Get From Dictionary ${tender_data.data} description 30 + ... ${ARGUMENTS[1]} == initial_tender_data
  31 + ${prepared_tender_data}= Add_data_for_GUI_FrontEnds ${ARGUMENTS[1]}
  32 + ${items}= Get From Dictionary ${prepared_tender_data.data} items
  33 + ${title}= Get From Dictionary ${prepared_tender_data.data} title
  34 + ${description}= Get From Dictionary ${prepared_tender_data.data} description
  35 + ${budget}= Get From Dictionary ${prepared_tender_data.data.value} amount
  36 + ${step_rate}= Get From Dictionary ${prepared_tender_data.data.minimalStep} amount
  37 + ${items_description}= Get From Dictionary ${prepared_tender_data.data} description
36 ${quantity}= Get From Dictionary ${items[0]} quantity 38 ${quantity}= Get From Dictionary ${items[0]} quantity
37 ${cpv}= Get From Dictionary ${items[0].classification} id 39 ${cpv}= Get From Dictionary ${items[0].classification} id
38 ${dkpp_desc}= Get From Dictionary ${items[0].additionalClassifications[0]} description 40 ${dkpp_desc}= Get From Dictionary ${items[0].additionalClassifications[0]} description
39 ${dkpp_id}= Get From Dictionary ${items[0].additionalClassifications[0]} id 41 ${dkpp_id}= Get From Dictionary ${items[0].additionalClassifications[0]} id
40 ${unit}= Get From Dictionary ${items[0].unit} name 42 ${unit}= Get From Dictionary ${items[0].unit} name
41 - ${start_date}= Get From Dictionary ${tender_data.data.tenderPeriod} startDate 43 + ${start_date}= Get From Dictionary ${prepared_tender_data.data.tenderPeriod} startDate
42 ${start_date}= convert_date_to_etender_format ${start_date} 44 ${start_date}= convert_date_to_etender_format ${start_date}
43 - ${start_time}= Get From Dictionary ${tender_data.data.tenderPeriod} startDate 45 + ${start_time}= Get From Dictionary ${prepared_tender_data.data.tenderPeriod} startDate
44 ${start_time}= convert_time_to_etender_format ${start_time} 46 ${start_time}= convert_time_to_etender_format ${start_time}
45 - ${end_date}= Get From Dictionary ${tender_data.data.tenderPeriod} endDate 47 + ${end_date}= Get From Dictionary ${prepared_tender_data.data.tenderPeriod} endDate
46 ${end_date}= convert_date_to_etender_format ${end_date} 48 ${end_date}= convert_date_to_etender_format ${end_date}
47 - ${end_time}= Get From Dictionary ${tender_data.data.tenderPeriod} endDate 49 + ${end_time}= Get From Dictionary ${prepared_tender_data.data.tenderPeriod} endDate
48 ${end_time}= convert_time_to_etender_format ${end_time} 50 ${end_time}= convert_time_to_etender_format ${end_time}
49 - ${enquiry_end_date}= Get From Dictionary ${tender_data.data.enquiryPeriod} endDate 51 + ${enquiry_end_date}= Get From Dictionary ${prepared_tender_data.data.enquiryPeriod} endDate
50 ${enquiry_end_date}= convert_date_to_etender_format ${enquiry_end_date} 52 ${enquiry_end_date}= convert_date_to_etender_format ${enquiry_end_date}
51 - ${enquiry_end_time}= Get From Dictionary ${tender_data.data.enquiryPeriod} endDate 53 + ${enquiry_end_time}= Get From Dictionary ${prepared_tender_data.data.enquiryPeriod} endDate
52 ${enquiry_end_time}= convert_time_to_etender_format ${enquiry_end_time} 54 ${enquiry_end_time}= convert_time_to_etender_format ${enquiry_end_time}
53 Selenium2Library.Switch Browser ${ARGUMENTS[0]} 55 Selenium2Library.Switch Browser ${ARGUMENTS[0]}
54 Wait Until Page Contains Мої закупівлі 100 56 Wait Until Page Contains Мої закупівлі 100
@@ -88,8 +90,10 @@ ${locator.tenderId} jquery=h3 @@ -88,8 +90,10 @@ ${locator.tenderId} jquery=h3
88 Click Element xpath=//div[contains(@class, 'form-actions')]//button[@type='submit'] 90 Click Element xpath=//div[contains(@class, 'form-actions')]//button[@type='submit']
89 Wait Until Page Contains [ТЕСТУВАННЯ] 100 91 Wait Until Page Contains [ТЕСТУВАННЯ] 100
90 Click Element xpath=//table[contains(@class, 'table table-hover table-striped table-bordered ng-scope ng-table')]//tr[1]//a 92 Click Element xpath=//table[contains(@class, 'table table-hover table-striped table-bordered ng-scope ng-table')]//tr[1]//a
91 - ${tender_UAid}= Wait Until Keyword Succeeds 240sec 2sec get tender UAid  
92 -### harcode Idis bacause issues on the E-tender side, to remove, 1 line: 93 + Sleep 5
  94 + ${tender_UAid}= Get Text xpath=//div[contains(@class, "panel-heading")]
  95 + ${tender_UAid}= Get Substring ${tender_UAid} 7
  96 + ### harcode Idis bacause issues on the E-tender side, to remove, 1 line:
93 ${tender_UAid}= Convert To String UA-2015-08-03-000025 97 ${tender_UAid}= Convert To String UA-2015-08-03-000025
94 ${Ids}= Convert To String ${tender_UAid} 98 ${Ids}= Convert To String ${tender_UAid}
95 Run keyword if '${mode}' == 'multi' Set Multi Ids ${ARGUMENTS[0]} ${tender_UAid} 99 Run keyword if '${mode}' == 'multi' Set Multi Ids ${ARGUMENTS[0]} ${tender_UAid}
@@ -99,14 +103,9 @@ Set Multi Ids @@ -99,14 +103,9 @@ Set Multi Ids
99 [Arguments] @{ARGUMENTS} 103 [Arguments] @{ARGUMENTS}
100 [Documentation] 104 [Documentation]
101 ... ${ARGUMENTS[0]} == username 105 ... ${ARGUMENTS[0]} == username
102 - ... ${ARGUMENTS[1]} == ${tender_UAid}  
103 - ${id}= Oтримати internal id по UAid ${ARGUMENTS[0]} ${ARGUMENTS[1]} 106 + ${id}= Get Text xpath=//div[contains(@class, "panel-heading")]
104 ${Ids}= Create List ${tender_UAid} ${id} 107 ${Ids}= Create List ${tender_UAid} ${id}
105 108
106 -get tender UAid  
107 - ${tender_UAid}= Get Text xpath=//div[contains(@class, "panel-heading")]  
108 - ${tender_UAid}= Get Substring ${tender_UAid} 7 27  
109 -  
110 Oтримати internal id по UAid 109 Oтримати internal id по UAid
111 [Arguments] @{ARGUMENTS} 110 [Arguments] @{ARGUMENTS}
112 [Documentation] 111 [Documentation]
@@ -20,7 +20,7 @@ ${file_path} local_path_to_file("TestDocument.docx") @@ -20,7 +20,7 @@ ${file_path} local_path_to_file("TestDocument.docx")
20 Wait Until Page Contains Element jquery=a[href="/cabinet"] 20 Wait Until Page Contains Element jquery=a[href="/cabinet"]
21 Click Element jquery=a[href="/cabinet"] 21 Click Element jquery=a[href="/cabinet"]
22 Wait Until Page Contains Element name=email 10 22 Wait Until Page Contains Element name=email 10
23 -# Input text name=email mail 23 + Input text name=email mail
24 Sleep 1 24 Sleep 1
25 Input text name=email ${USERS.users['${username}'].login} 25 Input text name=email ${USERS.users['${username}'].login}
26 Sleep 2 26 Sleep 2
@@ -42,26 +42,26 @@ Pre Login @@ -42,26 +42,26 @@ Pre Login
42 [Documentation] 42 [Documentation]
43 ... ${ARGUMENTS[0]} == username 43 ... ${ARGUMENTS[0]} == username
44 ... ${ARGUMENTS[1]} == tender_data 44 ... ${ARGUMENTS[1]} == tender_data
45 - ${tender_data}= Add_time_for_GUI_FrontEnds ${ARGUMENTS[1]}  
46 - ${items}= Get From Dictionary ${tender_data.data} items  
47 - ${title}= Get From Dictionary ${tender_data.data} title  
48 - ${description}= Get From Dictionary ${tender_data.data} description  
49 - ${budget}= Get From Dictionary ${tender_data.data.value} amount  
50 - ${step_rate}= Get From Dictionary ${tender_data.data.minimalStep} amount  
51 - ${items_description}= Get From Dictionary ${tender_data.data} description 45 + ${prepared_tender_data}= Add_data_for_GUI_FrontEnds ${ARGUMENTS[1]}
  46 + ${items}= Get From Dictionary ${prepared_tender_data.data} items
  47 + ${title}= Get From Dictionary ${prepared_tender_data.data} title
  48 + ${description}= Get From Dictionary ${prepared_tender_data.data} description
  49 + ${budget}= Get From Dictionary ${prepared_tender_data.data.value} amount
  50 + ${step_rate}= Get From Dictionary ${prepared_tender_data.data.minimalStep} amount
  51 + ${items_description}= Get From Dictionary ${prepared_tender_data.data} description
52 ${quantity}= Get From Dictionary ${items[0]} quantity 52 ${quantity}= Get From Dictionary ${items[0]} quantity
53 - ${countryName}= Get From Dictionary ${tender_data.data.procuringEntity.address} countryName 53 + ${countryName}= Get From Dictionary ${prepared_tender_data.data.procuringEntity.address} countryName
54 ${delivery_end_date}= Get From Dictionary ${items[0].deliveryDate} endDate 54 ${delivery_end_date}= Get From Dictionary ${items[0].deliveryDate} endDate
55 ${delivery_end_date}= convert_date_to_slash_format ${delivery_end_date} 55 ${delivery_end_date}= convert_date_to_slash_format ${delivery_end_date}
56 - ${cpv}= Get From Dictionary ${items[0].classification} description_ua 56 + ${cpv}= Convert To String Картонки
57 ${cpv_id}= Get From Dictionary ${items[0].classification} id 57 ${cpv_id}= Get From Dictionary ${items[0].classification} id
58 ${cpv_id1}= Replace String ${cpv_id} - _ 58 ${cpv_id1}= Replace String ${cpv_id} - _
59 ${dkpp_desc}= Get From Dictionary ${items[0].additionalClassifications[0]} description 59 ${dkpp_desc}= Get From Dictionary ${items[0].additionalClassifications[0]} description
60 ${dkpp_id}= Get From Dictionary ${items[0].additionalClassifications[0]} id 60 ${dkpp_id}= Get From Dictionary ${items[0].additionalClassifications[0]} id
61 ${dkpp_id1}= Replace String ${dkpp_id} - _ 61 ${dkpp_id1}= Replace String ${dkpp_id} - _
62 - ${enquiry_end_date}= Get From Dictionary ${tender_data.data.enquiryPeriod} endDate 62 + ${enquiry_end_date}= Get From Dictionary ${prepared_tender_data.data.enquiryPeriod} endDate
63 ${enquiry_end_date}= convert_date_to_slash_format ${enquiry_end_date} 63 ${enquiry_end_date}= convert_date_to_slash_format ${enquiry_end_date}
64 - ${end_date}= Get From Dictionary ${tender_data.data.tenderPeriod} endDate 64 + ${end_date}= Get From Dictionary ${prepared_tender_data.data.tenderPeriod} endDate
65 ${end_date}= convert_date_to_slash_format ${end_date} 65 ${end_date}= convert_date_to_slash_format ${end_date}
66 66
67 Selenium2Library.Switch Browser ${ARGUMENTS[0]} 67 Selenium2Library.Switch Browser ${ARGUMENTS[0]}
@@ -78,7 +78,6 @@ Pre Login @@ -78,7 +78,6 @@ Pre Login
78 Input text name=items[0][item_deliveryDate_endDate] ${delivery_end_date} 78 Input text name=items[0][item_deliveryDate_endDate] ${delivery_end_date}
79 Click Element xpath=//a[@class ='uploadFile'] 79 Click Element xpath=//a[@class ='uploadFile']
80 Choose File xpath=//a[@class ='uploadFile'] ${file_path} 80 Choose File xpath=//a[@class ='uploadFile'] ${file_path}
81 - Debug  
82 Click Element xpath=//a[contains(@data-class, 'cpv')][./text()='Визначити за довідником'] 81 Click Element xpath=//a[contains(@data-class, 'cpv')][./text()='Визначити за довідником']
83 Select Frame xpath=//iframe[contains(@src,'/js/classifications/cpv/uk.htm?relation=true')] 82 Select Frame xpath=//iframe[contains(@src,'/js/classifications/cpv/uk.htm?relation=true')]
84 Input text id=search ${cpv} 83 Input text id=search ${cpv}
@@ -191,7 +190,6 @@ Set Multi Ids @@ -191,7 +190,6 @@ Set Multi Ids
191 ... ${ARGUMENTS[0]} == username 190 ... ${ARGUMENTS[0]} == username
192 ... ${ARGUMENTS[1]} == tenderId 191 ... ${ARGUMENTS[1]} == tenderId
193 Switch browser ${ARGUMENTS[0]} 192 Switch browser ${ARGUMENTS[0]}
194 -  
195 Go to ${BROKERS['${USERS.users['${username}'].broker}'].url} 193 Go to ${BROKERS['${USERS.users['${username}'].broker}'].url}
196 Wait Until Page Contains Держзакупівлі.онлайн 10 194 Wait Until Page Contains Держзакупівлі.онлайн 10
197 # sleep 1 195 # sleep 1
@@ -15,7 +15,6 @@ ${locator.tenderId} jquery=h3 @@ -15,7 +15,6 @@ ${locator.tenderId} jquery=h3
15 [Arguments] @{ARGUMENTS} 15 [Arguments] @{ARGUMENTS}
16 [Documentation] Відкрити брaвзер, створити обєкт api wrapper, тощо 16 [Documentation] Відкрити брaвзер, створити обєкт api wrapper, тощо
17 ... ${ARGUMENTS[0]} == username 17 ... ${ARGUMENTS[0]} == username
18 -  
19 Open Browser ${BROKERS['${USERS.users['${username}'].broker}'].url} ${USERS.users['${username}'].browser} alias=${ARGUMENTS[0]} 18 Open Browser ${BROKERS['${USERS.users['${username}'].broker}'].url} ${USERS.users['${username}'].browser} alias=${ARGUMENTS[0]}
20 Set Window Size @{USERS.users['${ARGUMENTS[0]}'].size} 19 Set Window Size @{USERS.users['${ARGUMENTS[0]}'].size}
21 Set Window Position @{USERS.users['${ARGUMENTS[0]}'].position} 20 Set Window Position @{USERS.users['${ARGUMENTS[0]}'].position}
@@ -31,18 +30,18 @@ ${locator.tenderId} jquery=h3 @@ -31,18 +30,18 @@ ${locator.tenderId} jquery=h3
31 [Arguments] @{ARGUMENTS} 30 [Arguments] @{ARGUMENTS}
32 [Documentation] 31 [Documentation]
33 ... ${ARGUMENTS[0]} == username 32 ... ${ARGUMENTS[0]} == username
34 - ... ${ARGUMENTS[1]} == tender_data  
35 - 33 + ... ${ARGUMENTS[1]} == initial_tender_data
36 ## Inicialisation 34 ## Inicialisation
37 - ${items}= Get From Dictionary ${ARGUMENTS[1].data} items  
38 - ${title}= Get From Dictionary ${ARGUMENTS[1].data} title  
39 - ${description}= Get From Dictionary ${ARGUMENTS[1].data} description  
40 - ${budget}= Get From Dictionary ${ARGUMENTS[1].data.value} amount  
41 - ${step_rate}= Get From Dictionary ${ARGUMENTS[1].data.minimalStep} amount  
42 - ${start_date}= Get From Dictionary ${ARGUMENTS[1].data.tenderPeriod} startDate  
43 - ${end_date}= Get From Dictionary ${ARGUMENTS[1].data.tenderPeriod} endDate  
44 - ${enquiry_start_date}= Get From Dictionary ${ARGUMENTS[1].data.enquiryPeriod} startDate  
45 - ${enquiry_end_date}= Get From Dictionary ${ARGUMENTS[1].data.enquiryPeriod} endDate 35 + ${prepared_tender_data}= Add_data_for_GUI_FrontEnds ${ARGUMENTS[1]}
  36 + ${items}= Get From Dictionary ${prepared_tender_data.data} items
  37 + ${title}= Get From Dictionary ${prepared_tender_data.data} title
  38 + ${description}= Get From Dictionary ${prepared_tender_data.data} description
  39 + ${budget}= Get From Dictionary ${prepared_tender_data.data.value} amount
  40 + ${step_rate}= Get From Dictionary ${prepared_tender_data.data.minimalStep} amount
  41 + ${start_date}= Get From Dictionary ${prepared_tender_data.data.tenderPeriod} startDate
  42 + ${end_date}= Get From Dictionary ${prepared_tender_data.data.tenderPeriod} endDate
  43 + ${enquiry_start_date}= Get From Dictionary ${prepared_tender_data.data.enquiryPeriod} startDate
  44 + ${enquiry_end_date}= Get From Dictionary ${prepared_tender_data.data.enquiryPeriod} endDate
46 45
47 Selenium2Library.Switch Browser ${ARGUMENTS[0]} 46 Selenium2Library.Switch Browser ${ARGUMENTS[0]}
48 Go To ${USERS.users['${username}'].homepage} 47 Go To ${USERS.users['${username}'].homepage}
@@ -109,7 +108,7 @@ Set datetime @@ -109,7 +108,7 @@ Set datetime
109 ## Get values for item 108 ## Get values for item
110 ${items_description}= Get From Dictionary ${ARGUMENTS[0]} description 109 ${items_description}= Get From Dictionary ${ARGUMENTS[0]} description
111 ${quantity}= Get From Dictionary ${ARGUMENTS[0]} quantity 110 ${quantity}= Get From Dictionary ${ARGUMENTS[0]} quantity
112 - ${cpv}= Get From Dictionary ${ARGUMENTS[0].classification} description_ua 111 + ${cpv}= Convert To String Картонки
113 ${dkpp_desc}= Get From Dictionary ${ARGUMENTS[0].additionalClassifications[0]} description 112 ${dkpp_desc}= Get From Dictionary ${ARGUMENTS[0].additionalClassifications[0]} description
114 ${dkpp_id}= Get From Dictionary ${ARGUMENTS[0].additionalClassifications[0]} id 113 ${dkpp_id}= Get From Dictionary ${ARGUMENTS[0].additionalClassifications[0]} id
115 ${unit}= Get From Dictionary ${ARGUMENTS[0].unit} name 114 ${unit}= Get From Dictionary ${ARGUMENTS[0].unit} name
@@ -161,10 +160,6 @@ Set datetime @@ -161,10 +160,6 @@ Set datetime
161 160
162 161
163 162
164 -  
165 -  
166 -  
167 -  
168 #### Not reworked for Newtend #### 163 #### Not reworked for Newtend ####
169 164
170 Oтримати internal id по UAid 165 Oтримати internal id по UAid
@@ -13,7 +13,7 @@ ${question_id} 0 @@ -13,7 +13,7 @@ ${question_id} 0
13 ... ${ARGUMENTS[0]} == username 13 ... ${ARGUMENTS[0]} == username
14 ... ${ARGUMENTS[1]} == tenderid 14 ... ${ARGUMENTS[1]} == tenderid
15 log many @{ARGUMENTS} 15 log many @{ARGUMENTS}
16 - ${tenders}= get_internal_id ${USERS.users['${ARGUMENTS[0]}'].client.get_tenders} ${USERS.users['${ARGUMENTS[0]}'].creation_date} 16 + ${tenders}= get_internal_id ${USERS.users['${ARGUMENTS[0]}'].client.get_tenders} ${USERS.users['${ARGUMENTS[0]}'].creation_date}
17 :FOR ${tender} IN @{tenders} 17 :FOR ${tender} IN @{tenders}
18 \ log ${tender} 18 \ log ${tender}
19 \ ${internal_id}= Run Keyword And Return If '${tender.tenderID}' == '${ARGUMENTS[1]}' Get Variable Value ${tender.id} 19 \ ${internal_id}= Run Keyword And Return If '${tender.tenderID}' == '${ARGUMENTS[1]}' Get Variable Value ${tender.id}
@@ -26,16 +26,16 @@ ${question_id} 0 @@ -26,16 +26,16 @@ ${question_id} 0
26 Підготувати клієнт для користувача 26 Підготувати клієнт для користувача
27 [Arguments] @{ARGUMENTS} 27 [Arguments] @{ARGUMENTS}
28 [Documentation] Відкрити брaвзер, створити обєкт api wrapper, тощо 28 [Documentation] Відкрити брaвзер, створити обєкт api wrapper, тощо
29 - ${api_wrapper}= prepare_api_wrapper ${USERS.users['${ARGUMENTS[0]}'].api_key} ${API_HOST_URL} ${api_version} 29 + ${api_wrapper}= prepare_api_wrapper ${USERS.users['${ARGUMENTS[0]}'].api_key} ${API_HOST_URL} ${api_version}
30 ${creation_date} = get_date 30 ${creation_date} = get_date
31 Set To Dictionary ${USERS.users['${ARGUMENTS[0]}']} creation_date ${creation_date} 31 Set To Dictionary ${USERS.users['${ARGUMENTS[0]}']} creation_date ${creation_date}
32 Set To Dictionary ${USERS.users['${ARGUMENTS[0]}']} client ${api_wrapper} 32 Set To Dictionary ${USERS.users['${ARGUMENTS[0]}']} client ${api_wrapper}
33 Log Variables 33 Log Variables
34 -  
35 -Підготувати дані для оголошення тендера 34 +
  35 +Підготувати дані для оголошення тендера
36 ${INITIAL_TENDER_DATA}= prepare_test_tender_data 36 ${INITIAL_TENDER_DATA}= prepare_test_tender_data
37 [return] ${INITIAL_TENDER_DATA} 37 [return] ${INITIAL_TENDER_DATA}
38 - 38 +
39 Створити тендер 39 Створити тендер
40 [Arguments] @{ARGUMENTS} 40 [Arguments] @{ARGUMENTS}
41 ${TENDER_DATA}= Call Method ${USERS.users['${ARGUMENTS[0]}'].client} create_tender ${ARGUMENTS[1]} 41 ${TENDER_DATA}= Call Method ${USERS.users['${ARGUMENTS[0]}'].client} create_tender ${ARGUMENTS[1]}
@@ -61,7 +61,7 @@ ${question_id} 0 @@ -61,7 +61,7 @@ ${question_id} 0
61 Log tender_id: ${TENDER_DATA.data.id} 61 Log tender_id: ${TENDER_DATA.data.id}
62 Set Global Variable ${TENDER_DATA} 62 Set Global Variable ${TENDER_DATA}
63 [return] ${TENDER_DATA} 63 [return] ${TENDER_DATA}
64 - 64 +
65 Пошук тендера по ідентифікатору 65 Пошук тендера по ідентифікатору
66 [Arguments] @{ARGUMENTS} 66 [Arguments] @{ARGUMENTS}
67 [Documentation] 67 [Documentation]
@@ -191,7 +191,7 @@ ${question_id} 0 @@ -191,7 +191,7 @@ ${question_id} 0
191 ${complaint}= Call Method ${USERS.users['${ARGUMENTS[0]}'].client} _create_tender_resource_item ${tender} ${ARGUMENTS[2]} complaints 191 ${complaint}= Call Method ${USERS.users['${ARGUMENTS[0]}'].client} _create_tender_resource_item ${tender} ${ARGUMENTS[2]} complaints
192 Log object data ${complaint} complaint 192 Log object data ${complaint} complaint
193 193
194 -порівняти скаргу 194 +порівняти скаргу
195 [Documentation] 195 [Documentation]
196 ... ${ARGUMENTS[0]} == username 196 ... ${ARGUMENTS[0]} == username
197 ... ${ARGUMENTS[1]} == tender_uid 197 ... ${ARGUMENTS[1]} == tender_uid
@@ -199,10 +199,10 @@ ${question_id} 0 @@ -199,10 +199,10 @@ ${question_id} 0
199 [Arguments] @{ARGUMENTS} 199 [Arguments] @{ARGUMENTS}
200 ${internalid}= отримати internal id по UAid ${ARGUMENTS[0]} ${ARGUMENTS[1]} 200 ${internalid}= отримати internal id по UAid ${ARGUMENTS[0]} ${ARGUMENTS[1]}
201 ${tender}= Call Method ${USERS.users['${ARGUMENTS[0]}'].client} get_tender ${internalid} 201 ${tender}= Call Method ${USERS.users['${ARGUMENTS[0]}'].client} get_tender ${internalid}
202 - ${complaint}= Get Variable Value ${tender.data.complaints[0]} 202 + ${complaint}= Get Variable Value ${tender.data.complaints[0]}
203 log ${complaint} 203 log ${complaint}
204 log ${ARGUMENTS[2]} 204 log ${ARGUMENTS[2]}
205 - #TODO: COMPARE 205 + #TODO: COMPARE
206 #Dictionary Should Contain Sub Dictionary ${complaint} ${ARGUMENTS[2].data} 206 #Dictionary Should Contain Sub Dictionary ${complaint} ${ARGUMENTS[2].data}
207 #:FOR ${element} IN ${ARGUMENTS[2].data} 207 #:FOR ${element} IN ${ARGUMENTS[2].data}
208 #\ log ${element} 208 #\ log ${element}
@@ -315,9 +315,9 @@ ${question_id} 0 @@ -315,9 +315,9 @@ ${question_id} 0
315 [return] ${uploaded_file} 315 [return] ${uploaded_file}
316 316
317 317
318 -  
319 318
320 -Завантажити документ 319 +
  320 +Завантажити документ
321 [Documentation] 321 [Documentation]
322 ... ${ARGUMENTS[0]} == username 322 ... ${ARGUMENTS[0]} == username
323 ... ${ARGUMENTS[1]} == filepath 323 ... ${ARGUMENTS[1]} == filepath
@@ -332,7 +332,7 @@ ${question_id} 0 @@ -332,7 +332,7 @@ ${question_id} 0
332 ${reply}= Call Method ${USERS.users['${ARGUMENTS[0]}'].client} upload_document ${tender} ${ARGUMENTS[1]} 332 ${reply}= Call Method ${USERS.users['${ARGUMENTS[0]}'].client} upload_document ${tender} ${ARGUMENTS[1]}
333 Log object data ${reply} reply 333 Log object data ${reply} reply
334 [return] ${reply} 334 [return] ${reply}
335 - 335 +
336 Отримати пропозиції 336 Отримати пропозиції
337 [Documentation] 337 [Documentation]
338 ... ${ARGUMENTS[0]} == username 338 ... ${ARGUMENTS[0]} == username
@@ -5,10 +5,10 @@ Library DateTime @@ -5,10 +5,10 @@ Library DateTime
5 5
6 *** Variables *** 6 *** Variables ***
7 ${file_path} local_path_to_file("TestDocument.docx") 7 ${file_path} local_path_to_file("TestDocument.docx")
8 -# ${file_path} /home/vbilos/openprocurement.robottests.buildout/Document.docx  
9 ${mail} test@mail.com 8 ${mail} test@mail.com
10 ${telephone} +380976535447 9 ${telephone} +380976535447
11 10
  11 +
12 *** Keywords *** 12 *** Keywords ***
13 Підготувати клієнт для користувача 13 Підготувати клієнт для користувача
14 [Arguments] @{ARGUMENTS} 14 [Arguments] @{ARGUMENTS}
@@ -31,23 +31,23 @@ ${telephone} +380976535447 @@ -31,23 +31,23 @@ ${telephone} +380976535447
31 [Documentation] 31 [Documentation]
32 ... ${ARGUMENTS[0]} == username 32 ... ${ARGUMENTS[0]} == username
33 ... ${ARGUMENTS[1]} == tender_data 33 ... ${ARGUMENTS[1]} == tender_data
34 - ${tender_data}= Add_time_for_GUI_FrontEnds ${ARGUMENTS[1]}  
35 - ${items}= Get From Dictionary ${tender_data.data} items  
36 - ${title}= Get From Dictionary ${tender_data.data} title  
37 - ${description}= Get From Dictionary ${tender_data.data} description  
38 - ${budget}= Get From Dictionary ${tender_data.data.value} amount  
39 - ${step_rate}= Get From Dictionary ${tender_data.data.minimalStep} amount  
40 - ${countryName}= Get From Dictionary ${tender_data.data.procuringEntity.address} countryName 34 + ${prepared_tender_data}= Add_data_for_GUI_FrontEnds ${ARGUMENTS[1]}
  35 + ${items}= Get From Dictionary ${prepared_tender_data.data} items
  36 + ${title}= Get From Dictionary ${prepared_tender_data.data} title
  37 + ${description}= Get From Dictionary ${prepared_tender_data.data} description
  38 + ${budget}= Get From Dictionary ${prepared_tender_data.data.value} amount
  39 + ${step_rate}= Get From Dictionary ${prepared_tender_data.data.minimalStep} amount
  40 + ${countryName}= Get From Dictionary ${prepared_tender_data.data.procuringEntity.address} countryName
41 ${delivery_end_date}= Get From Dictionary ${items[0].deliveryDate} endDate 41 ${delivery_end_date}= Get From Dictionary ${items[0].deliveryDate} endDate
42 ${delivery_end_date}= convert_date_to_prom_format ${delivery_end_date} 42 ${delivery_end_date}= convert_date_to_prom_format ${delivery_end_date}
43 - ${cpv}= Get From Dictionary ${items[0].classification} description_ua 43 + ${cpv}= Convert To String "Картонки"
44 ${cpv_id}= Get From Dictionary ${items[0].classification} id 44 ${cpv_id}= Get From Dictionary ${items[0].classification} id
45 ${cpv_id_1}= Get Substring ${cpv_id} 0 3 45 ${cpv_id_1}= Get Substring ${cpv_id} 0 3
46 ${dkpp_desc}= Get From Dictionary ${items[0].additionalClassifications[0]} description 46 ${dkpp_desc}= Get From Dictionary ${items[0].additionalClassifications[0]} description
47 ${dkpp_id}= Get From Dictionary ${items[0].additionalClassifications[0]} id 47 ${dkpp_id}= Get From Dictionary ${items[0].additionalClassifications[0]} id
48 ${code}= Get From Dictionary ${items[0].unit} code 48 ${code}= Get From Dictionary ${items[0].unit} code
49 ${quantity}= Get From Dictionary ${items[0]} quantity 49 ${quantity}= Get From Dictionary ${items[0]} quantity
50 - ${name}= Get From Dictionary ${tender_data.data.procuringEntity.contactPoint} name 50 + ${name}= Get From Dictionary ${prepared_tender_data.data.procuringEntity.contactPoint} name
51 51
52 Selenium2Library.Switch Browser ${ARGUMENTS[0]} 52 Selenium2Library.Switch Browser ${ARGUMENTS[0]}
53 Wait Until Page Contains Element xpath=//*[contains(@class, 'ui-button-text ui-c')][./text()='Нова закупівля'] 10 53 Wait Until Page Contains Element xpath=//*[contains(@class, 'ui-button-text ui-c')][./text()='Нова закупівля'] 10
@@ -17,7 +17,7 @@ users: @@ -17,7 +17,7 @@ users:
17 homepage: "http://uat.e-tender.biz/#/profile" 17 homepage: "http://uat.e-tender.biz/#/profile"
18 login: Misha2 18 login: Misha2
19 password: Password1 19 password: Password1
20 - browser: firefox 20 + browser: chrome
21 position: [0, 0] 21 position: [0, 0]
22 size: [740, 550] 22 size: [740, 550]
23 E-tender_Provider1: 23 E-tender_Provider1:
@@ -26,7 +26,7 @@ users: @@ -26,7 +26,7 @@ users:
26 homepage: "http://uat.e-tender.biz/#/profile" 26 homepage: "http://uat.e-tender.biz/#/profile"
27 login: st_org 27 login: st_org
28 password: 12345678 28 password: 12345678
29 - browser: firefox 29 + browser: chrome
30 position: [700, 0] 30 position: [700, 0]
31 size: [640, 450] 31 size: [640, 450]
32 E-tender_Provider2: 32 E-tender_Provider2:
@@ -35,7 +35,7 @@ users: @@ -35,7 +35,7 @@ users:
35 homepage: "http://uat.e-tender.biz/#/profile" 35 homepage: "http://uat.e-tender.biz/#/profile"
36 login: provider2 36 login: provider2
37 password: Qa123456 37 password: Qa123456
38 - browser: firefox 38 + browser: chrome
39 position: [700, 0] 39 position: [700, 0]
40 size: [640, 450] 40 size: [640, 450]
41 E-tender_Viewer: 41 E-tender_Viewer:
@@ -80,7 +80,7 @@ users: @@ -80,7 +80,7 @@ users:
80 homepage: "http://dev23.newtend.com/openprocurement/#/home/page/1" 80 homepage: "http://dev23.newtend.com/openprocurement/#/home/page/1"
81 login: openprocurement@mailinator.com 81 login: openprocurement@mailinator.com
82 password: 123123 82 password: 123123
83 - browser: firefox 83 + browser: chrome
84 position: [0, 0] 84 position: [0, 0]
85 size: [640, 450] 85 size: [640, 450]
86 Netcast_Owner: 86 Netcast_Owner:
@@ -89,25 +89,25 @@ users: @@ -89,25 +89,25 @@ users:
89 homepage: "http://dz2.byustudio.in.ua" 89 homepage: "http://dz2.byustudio.in.ua"
90 login: ovramet.s@gmail.com 90 login: ovramet.s@gmail.com
91 password: Password1 91 password: Password1
92 - browser: firefox 92 + browser: chrome
93 position: [0, 0] 93 position: [0, 0]
94 - size: [1920, 1080] 94 + size: [920, 580]
95 Netcast_Provider1: 95 Netcast_Provider1:
96 broker: Netcast 96 broker: Netcast
97 username: Netcasttest 97 username: Netcasttest
98 homepage: "http://dz2.byustudio.in.ua" 98 homepage: "http://dz2.byustudio.in.ua"
99 login: halyna.khimka@gmail.com 99 login: halyna.khimka@gmail.com
100 password: JHO5VUp5n 100 password: JHO5VUp5n
101 - browser: firefox  
102 - position: [0, 450]  
103 - size: [1920, 1080] 101 + browser: chrome
  102 + position: [0, 900]
  103 + size: [920, 580]
104 Publicbid_Owner: 104 Publicbid_Owner:
105 broker: Publicbid 105 broker: Publicbid
106 username: Publicbid 106 username: Publicbid
107 homepage: "https://public-bid.com.ua/test/" 107 homepage: "https://public-bid.com.ua/test/"
108 login: yaroslav1boyko@gmail.com 108 login: yaroslav1boyko@gmail.com
109 password: Password1 109 password: Password1
110 - browser: firefox 110 + browser: chrome
111 position: [0, 0] 111 position: [0, 0]
112 size: [740, 550] 112 size: [740, 550]
113 Newtend_Provider2: 113 Newtend_Provider2:
@@ -116,12 +116,12 @@ users: @@ -116,12 +116,12 @@ users:
116 homepage: "http://dev23.newtend.com/openprocurement/tenders" 116 homepage: "http://dev23.newtend.com/openprocurement/tenders"
117 login: openprocboss@mailinator.com 117 login: openprocboss@mailinator.com
118 password: 123123 118 password: 123123
119 - browser: firefox 119 + browser: chrome
120 position: [700, 0] 120 position: [700, 0]
121 size: [640, 450] 121 size: [640, 450]
122 Newtend_Viewer: 122 Newtend_Viewer:
123 broker: Newtend 123 broker: Newtend
124 username: Newtendtest 124 username: Newtendtest
125 - browser: firefox 125 + browser: chrome
126 position: [0, 0] 126 position: [0, 0]
127 size: [640, 450] 127 size: [640, 450]
@@ -73,8 +73,7 @@ def test_tender_data(period_interval=2): @@ -73,8 +73,7 @@ def test_tender_data(period_interval=2):
73 "classification": { 73 "classification": {
74 "scheme": u"CPV", 74 "scheme": u"CPV",
75 "id": u"44617100-9", 75 "id": u"44617100-9",
76 - "description": u"Cartons",  
77 - "description_ua": u"Картонки", 76 + "description": u"Cartons"
78 }, 77 },
79 "additionalClassifications": [ 78 "additionalClassifications": [
80 { 79 {
@@ -243,8 +242,7 @@ def test_tender_data_multiple_lots(period_interval=2): @@ -243,8 +242,7 @@ def test_tender_data_multiple_lots(period_interval=2):
243 "classification": { 242 "classification": {
244 "scheme": u"CPV", 243 "scheme": u"CPV",
245 "id": u"44617100-9", 244 "id": u"44617100-9",
246 - "description": u"Cartons",  
247 - "description_ua": u"Картонки", 245 + "description": u"Cartons"
248 }, 246 },
249 "additionalClassifications": [ 247 "additionalClassifications": [
250 { 248 {
@@ -27,21 +27,6 @@ TIMEZONE = timezone('Europe/Kiev') @@ -27,21 +27,6 @@ TIMEZONE = timezone('Europe/Kiev')
27 def get_date(): 27 def get_date():
28 return datetime.now().isoformat() 28 return datetime.now().isoformat()
29 29
30 -def convert_date_to_slash_format(isodate):  
31 - iso_dt=parse_date(isodate)  
32 - date_string = iso_dt.strftime("%d/%m/%Y")  
33 - return date_string  
34 -  
35 -def convert_date_to_etender_format(isodate):  
36 - iso_dt=parse_date(isodate)  
37 - date_string = iso_dt.strftime("%d-%m-%Y")  
38 - return date_string  
39 -  
40 -def convert_time_to_etender_format(isodate):  
41 - iso_dt=parse_date(isodate)  
42 - time_string = iso_dt.strftime("%H:%M")  
43 - return time_string  
44 -  
45 def change_state(arguments): 30 def change_state(arguments):
46 try: 31 try:
47 if arguments[0] == "shouldfail": 32 if arguments[0] == "shouldfail":
@@ -94,7 +79,6 @@ def load_initial_data_from(file_name): @@ -94,7 +79,6 @@ def load_initial_data_from(file_name):
94 elif file_name.endswith(".yaml"): 79 elif file_name.endswith(".yaml"):
95 return fromYAML(file_obj) 80 return fromYAML(file_obj)
96 81
97 -  
98 def prepare_test_tender_data(period_interval=2, mode='single'): 82 def prepare_test_tender_data(period_interval=2, mode='single'):
99 if mode == 'single': 83 if mode == 'single':
100 return munchify({'data': test_tender_data(period_interval=period_interval)}) 84 return munchify({'data': test_tender_data(period_interval=period_interval)})
@@ -102,21 +86,16 @@ def prepare_test_tender_data(period_interval=2, mode='single'): @@ -102,21 +86,16 @@ def prepare_test_tender_data(period_interval=2, mode='single'):
102 return munchify({'data': test_tender_data_multiple_lots(period_interval=period_interval)}) 86 return munchify({'data': test_tender_data_multiple_lots(period_interval=period_interval)})
103 raise ValueError('A very specific bad thing happened') 87 raise ValueError('A very specific bad thing happened')
104 88
105 -  
106 def run_keyword_and_ignore_keyword_definations(name, *args): 89 def run_keyword_and_ignore_keyword_definations(name, *args):
107 """Runs the given keyword with given arguments and returns the status as a Boolean value. 90 """Runs the given keyword with given arguments and returns the status as a Boolean value.
108 -  
109 This keyword returns `True` if the keyword that is executed succeeds and 91 This keyword returns `True` if the keyword that is executed succeeds and
110 `False` if it fails. This is useful, for example, in combination with 92 `False` if it fails. This is useful, for example, in combination with
111 `Run Keyword If`. If you are interested in the error message or return 93 `Run Keyword If`. If you are interested in the error message or return
112 value, use `Run Keyword And Ignore Error` instead. 94 value, use `Run Keyword And Ignore Error` instead.
113 -  
114 The keyword name and arguments work as in `Run Keyword`. 95 The keyword name and arguments work as in `Run Keyword`.
115 -  
116 Example: 96 Example:
117 | ${passed} = | `Run Keyword And Return Status` | Keyword | args | 97 | ${passed} = | `Run Keyword And Return Status` | Keyword | args |
118 | `Run Keyword If` | ${passed} | Another keyword | 98 | `Run Keyword If` | ${passed} | Another keyword |
119 -  
120 New in Robot Framework 2.7.6. 99 New in Robot Framework 2.7.6.
121 """ 100 """
122 try: 101 try:
@@ -126,7 +105,6 @@ def run_keyword_and_ignore_keyword_definations(name, *args): @@ -126,7 +105,6 @@ def run_keyword_and_ignore_keyword_definations(name, *args):
126 return "FAIL", "" 105 return "FAIL", ""
127 return status, _ 106 return status, _
128 107
129 -  
130 def set_tender_periods(tender): 108 def set_tender_periods(tender):
131 now = datetime.now() 109 now = datetime.now()
132 tender.data.enquiryPeriod.endDate = (now + timedelta(minutes=2)).isoformat() 110 tender.data.enquiryPeriod.endDate = (now + timedelta(minutes=2)).isoformat()
@@ -134,17 +112,14 @@ def set_tender_periods(tender): @@ -134,17 +112,14 @@ def set_tender_periods(tender):
134 tender.data.tenderPeriod.endDate = (now + timedelta(minutes=4)).isoformat() 112 tender.data.tenderPeriod.endDate = (now + timedelta(minutes=4)).isoformat()
135 return tender 113 return tender
136 114
137 -  
138 def set_access_key(tender, access_token): 115 def set_access_key(tender, access_token):
139 tender.access = munchify({"token": access_token}) 116 tender.access = munchify({"token": access_token})
140 return tender 117 return tender
141 118
142 -  
143 def set_to_object(obj, attribute, value): 119 def set_to_object(obj, attribute, value):
144 xpathset(obj, attribute.replace('.', '/'), value) 120 xpathset(obj, attribute.replace('.', '/'), value)
145 return obj 121 return obj
146 122
147 -  
148 def get_from_object(obj, attribute): 123 def get_from_object(obj, attribute):
149 """Gets data from a dictionary using a dotted accessor-string""" 124 """Gets data from a dictionary using a dotted accessor-string"""
150 jsonpath_expr = parse_path(attribute) 125 jsonpath_expr = parse_path(attribute)
@@ -153,7 +128,6 @@ def get_from_object(obj, attribute): @@ -153,7 +128,6 @@ def get_from_object(obj, attribute):
153 return return_list[0] 128 return return_list[0]
154 return None 129 return None
155 130
156 -  
157 def wait_to_date(date_stamp): 131 def wait_to_date(date_stamp):
158 date = parse(date_stamp) 132 date = parse(date_stamp)
159 LOGGER.log_message(Message("date: {}".format(date.isoformat()), "INFO")) 133 LOGGER.log_message(Message("date: {}".format(date.isoformat()), "INFO"))
@@ -165,6 +139,21 @@ def wait_to_date(date_stamp): @@ -165,6 +139,21 @@ def wait_to_date(date_stamp):
165 return 0 139 return 0
166 return wait_seconds 140 return wait_seconds
167 141
  142 +def convert_date_to_slash_format(isodate):
  143 + iso_dt=parse_date(isodate)
  144 + date_string = iso_dt.strftime("%d/%m/%Y")
  145 + return date_string
  146 +
  147 +def convert_date_to_etender_format(isodate):
  148 + iso_dt=parse_date(isodate)
  149 + date_string = iso_dt.strftime("%d-%m-%Y")
  150 + return date_string
  151 +
  152 +def convert_time_to_etender_format(isodate):
  153 + iso_dt=parse_date(isodate)
  154 + time_string = iso_dt.strftime("%H:%M")
  155 + return time_string
  156 +
168 def newtend_date_picker_index(isodate): 157 def newtend_date_picker_index(isodate):
169 now = datetime.today() 158 now = datetime.today()
170 date_str = '01' + str(now.month) + str(now.year) 159 date_str = '01' + str(now.month) + str(now.year)
@@ -177,15 +166,15 @@ def newtend_date_picker_index(isodate): @@ -177,15 +166,15 @@ def newtend_date_picker_index(isodate):
177 mod = calendar.monthrange(now.year, now.month)[1] + mod 166 mod = calendar.monthrange(now.year, now.month)[1] + mod
178 return mod + iso_dt.day 167 return mod + iso_dt.day
179 168
180 -def Add_time_for_GUI_FrontEnds(INITIAL_TENDER_DATA): 169 +def Add_data_for_GUI_FrontEnds(INITIAL_TENDER_DATA):
181 now = datetime.now() 170 now = datetime.now()
182 INITIAL_TENDER_DATA.data.enquiryPeriod['startDate'] = (now + timedelta(minutes=2)).isoformat() 171 INITIAL_TENDER_DATA.data.enquiryPeriod['startDate'] = (now + timedelta(minutes=2)).isoformat()
183 INITIAL_TENDER_DATA.data.enquiryPeriod['endDate'] = (now + timedelta(minutes=3)).isoformat() 172 INITIAL_TENDER_DATA.data.enquiryPeriod['endDate'] = (now + timedelta(minutes=3)).isoformat()
184 INITIAL_TENDER_DATA.data.tenderPeriod['startDate'] = (now + timedelta(minutes=4)).isoformat() 173 INITIAL_TENDER_DATA.data.tenderPeriod['startDate'] = (now + timedelta(minutes=4)).isoformat()
185 INITIAL_TENDER_DATA.data.tenderPeriod['endDate'] = (now + timedelta(minutes=5)).isoformat() 174 INITIAL_TENDER_DATA.data.tenderPeriod['endDate'] = (now + timedelta(minutes=5)).isoformat()
186 return INITIAL_TENDER_DATA 175 return INITIAL_TENDER_DATA
187 - 176 +
188 def local_path_to_file( file_name ): 177 def local_path_to_file( file_name ):
189 - path = os.getcwd()  
190 - path = path.split("brokers", 1)[0] + "documents/" + file_name  
191 - return path  
  178 + path = os.getcwd()
  179 + path = path.split("brokers", 1)[0] + "documents/" + file_name
  180 + return path
@@ -387,7 +387,6 @@ ${question_id} 0 @@ -387,7 +387,6 @@ ${question_id} 0
387 ${bid_doc_upload_fail}= Викликати для учасника ${provider1} Завантажити документ в ставку shouldfail ${filepath} ${TENDER['TENDER_UAID']} 387 ${bid_doc_upload_fail}= Викликати для учасника ${provider1} Завантажити документ в ставку shouldfail ${filepath} ${TENDER['TENDER_UAID']}
388 Set To Dictionary ${USERS.users['${provider1}'].bidresponces} bid_doc_upload_fail ${bid_doc_upload_fail} 388 Set To Dictionary ${USERS.users['${provider1}'].bidresponces} bid_doc_upload_fail ${bid_doc_upload_fail}
389 389
390 -  
391 Неможливість змінити існуючу документацію цінової пропозиції після закінчення прийому пропозицій 390 Неможливість змінити існуючу документацію цінової пропозиції після закінчення прийому пропозицій
392 [Tags] ${USERS.users['${provider1}'].broker}: 391 [Tags] ${USERS.users['${provider1}'].broker}:
393 ${filepath}= create_fake_doc 392 ${filepath}= create_fake_doc
@@ -396,9 +395,8 @@ ${question_id} 0 @@ -396,9 +395,8 @@ ${question_id} 0
396 ${bid_doc_modified_failed}= Викликати для учасника ${provider1} Змінити документ в ставці shouldfail ${filepath} ${bidid} ${docid} 395 ${bid_doc_modified_failed}= Викликати для учасника ${provider1} Змінити документ в ставці shouldfail ${filepath} ${bidid} ${docid}
397 Set To Dictionary ${USERS.users['${provider}'].bidresponces} bid_doc_modified_failed ${bid_doc_modified_failed} 396 Set To Dictionary ${USERS.users['${provider}'].bidresponces} bid_doc_modified_failed ${bid_doc_modified_failed}
398 397
399 -  
400 Вичитати цінову пропозицію 398 Вичитати цінову пропозицію
401 -# sleep 120 399 + #sleep 120
402 [Tags] ${USERS.users['${provider1}'].broker}: Можливість подати цінову пропозицію 400 [Tags] ${USERS.users['${provider1}'].broker}: Можливість подати цінову пропозицію
403 ${bidid}= Get Variable Value ${USERS.users['${provider1}'].bidresponces['resp'].data.id} 401 ${bidid}= Get Variable Value ${USERS.users['${provider1}'].bidresponces['resp'].data.id}
404 ${token}= Get Variable Value ${USERS.users['${provider1}'].bidresponces['resp'].access.token} 402 ${token}= Get Variable Value ${USERS.users['${provider1}'].bidresponces['resp'].access.token}
Please register or login to post a comment