Commit d54bcc18f0155ced8c8bf74456fbc507766f53b8

Authored by Playtenders
1 parent d7926b5a

budget.amount + aboveThresholdEU + aboveThresholdUA

@@ -203,6 +203,7 @@ Resource playtender_agree @@ -203,6 +203,7 @@ Resource playtender_agree
203 # fix for preventing error "Resolving variable '${award.value.amount}' failed: AttributeError: value" in next keywords for owner role 203 # fix for preventing error "Resolving variable '${award.value.amount}' failed: AttributeError: value" in next keywords for owner role
204 ## run keyword if ${is_test_role_owner} and '${field_name}' in 'awards[0].complaintPeriod.endDate awards[1].complaintPeriod.endDate awards[2].complaintPeriod.endDate awards[3].complaintPeriod.endDate' fix awards data in global Users variable ${username} 204 ## run keyword if ${is_test_role_owner} and '${field_name}' in 'awards[0].complaintPeriod.endDate awards[1].complaintPeriod.endDate awards[2].complaintPeriod.endDate awards[3].complaintPeriod.endDate' fix awards data in global Users variable ${username}
205 205
  206 + Run Keyword And Return If '${field_name}' == 'budget.amount' playtender.Отримати інформацію із плану ${username} ${tender_uaid} ${field_name}
206 open tender page by uaid ${tender_uaid} 207 open tender page by uaid ${tender_uaid}
207 Run Keyword And Return If '${field_name}' == 'lots[0].minimalStep.currency' Отримати інформацію із лоту minimalStep.currency ${field_name} 208 Run Keyword And Return If '${field_name}' == 'lots[0].minimalStep.currency' Отримати інформацію із лоту minimalStep.currency ${field_name}
208 Run Keyword And Return If '${field_name}' == 'lots[0].minimalStep.valueAddedTaxIncluded' Отримати інформацію із лоту minimalStep.valueAddedTaxIncluded ${field_name} 209 Run Keyword And Return If '${field_name}' == 'lots[0].minimalStep.valueAddedTaxIncluded' Отримати інформацію із лоту minimalStep.valueAddedTaxIncluded ${field_name}
@@ -217,6 +218,7 @@ Resource playtender_agree @@ -217,6 +218,7 @@ Resource playtender_agree
217 Run Keyword And Return If '${field_name}' in 'awards[0].complaintPeriod.endDate awards[1].complaintPeriod.endDate awards[2].complaintPeriod.endDate awards[3].complaintPeriod.endDate' Отримати інформацію із awards.complaintPeriod.endDate 218 Run Keyword And Return If '${field_name}' in 'awards[0].complaintPeriod.endDate awards[1].complaintPeriod.endDate awards[2].complaintPeriod.endDate awards[3].complaintPeriod.endDate' Отримати інформацію із awards.complaintPeriod.endDate
218 Run Keyword And Return If '${field_name}' in 'minimalStep.amount' Отримати інформацію із minimalStep.amount 219 Run Keyword And Return If '${field_name}' in 'minimalStep.amount' Отримати інформацію із minimalStep.amount
219 Run Keyword And Return If '${field_name}' == 'awards[0].documents[0].title' Отримати інформацію із awards[0].documents[0].title 220 Run Keyword And Return If '${field_name}' == 'awards[0].documents[0].title' Отримати інформацію із awards[0].documents[0].title
  221 +# Run Keyword And Return If '${field_name}' == 'budget.amount' Отримати інформацію із плану ${username} ${tender_uaid} ${field_name}
220 ${field_name} = set variable tender.${field_name}.value 222 ${field_name} = set variable tender.${field_name}.value
221 ${value} = get field_value by field_name on opened page ${field_name} 223 ${value} = get field_value by field_name on opened page ${field_name}
222 [Return] ${value} 224 [Return] ${value}
@@ -869,6 +871,12 @@ Resource playtender_agree @@ -869,6 +871,12 @@ Resource playtender_agree
869 activate stage 2 871 activate stage 2
870 submit form and check result ${tender_form_submit_btn_locator} ${tender_form_submit_success_msg} ${tender_created_checker_element_locator} 872 submit form and check result ${tender_form_submit_btn_locator} ${tender_form_submit_success_msg} ${tender_created_checker_element_locator}
871 sleep 15m 873 sleep 15m
  874 + # bof - fix #
  875 + ${tender_cdb_data}= getTenderDataByTenderUaId ${API_HOST_URL}/api/${API_VERSION} ${tender_uaid}
  876 + ${tender_cdb_data}= op_robot_tests.tests_files.service_keywords.Munchify ${tender_cdb_data}
  877 + Set To Dictionary ${USERS.users['${tender_owner}']} tender_data=${tender_cdb_data}
  878 + Log ${USERS.users['${tender_owner}'].tender_data}
  879 + # eof - fix #
872 880
873 881
874 Отримати тендер другого етапу та зберегти його 882 Отримати тендер другого етапу та зберегти його
@@ -149,6 +149,7 @@ fill tender general info @@ -149,6 +149,7 @@ fill tender general info
149 run keyword if condition is not none ${tender_end_date} input datetime to visible input ${tender_tender_period_end_date_input_locator} ${tender_end_date} 149 run keyword if condition is not none ${tender_end_date} input datetime to visible input ${tender_tender_period_end_date_input_locator} ${tender_end_date}
150 # run keyword and ignore error click element ${tender_tender_quick_mode_locator} 150 # run keyword and ignore error click element ${tender_tender_quick_mode_locator}
151 run keyword and ignore error Execute Javascript $('[id$="form-quick_mode"]').click() 151 run keyword and ignore error Execute Javascript $('[id$="form-quick_mode"]').click()
  152 + run keyword and ignore error Execute Javascript $('[id$="form-auction_skip_mode"]').click()
152 ${classification} = get from dictionary by keys ${data} classification 153 ${classification} = get from dictionary by keys ${data} classification
153 run keyword if condition is not none ${classification} select classification by code attributes ${plan_form_classification_edit_btn_locator} ${classification} 154 run keyword if condition is not none ${classification} select classification by code attributes ${plan_form_classification_edit_btn_locator} ${classification}
154 ${additional_classifications} = get from dictionary by keys ${data} additionalClassifications 155 ${additional_classifications} = get from dictionary by keys ${data} additionalClassifications
@@ -257,6 +258,7 @@ fill tender general info 2 stage @@ -257,6 +258,7 @@ fill tender general info 2 stage
257 ${date_start} = Get Current Date increment=03:00:00 258 ${date_start} = Get Current Date increment=03:00:00
258 run keyword if condition is none ${tender_end_date} input datetime to visible input ${tender_tender_period_end_date_input_locator} ${date_start} 259 run keyword if condition is none ${tender_end_date} input datetime to visible input ${tender_tender_period_end_date_input_locator} ${date_start}
259 run keyword and ignore error click element ${tender_tender_quick_mode_locator} 260 run keyword and ignore error click element ${tender_tender_quick_mode_locator}
  261 + run keyword and ignore error click element ${tender_tender_auction_skip_mode_locator}
260 ${classification} = get from dictionary by keys ${data} classification 262 ${classification} = get from dictionary by keys ${data} classification
261 run keyword if condition is not none ${classification} select classification by code attributes ${plan_form_classification_edit_btn_locator} ${classification} 263 run keyword if condition is not none ${classification} select classification by code attributes ${plan_form_classification_edit_btn_locator} ${classification}
262 ${additional_classifications} = get from dictionary by keys ${data} additionalClassifications 264 ${additional_classifications} = get from dictionary by keys ${data} additionalClassifications
@@ -85,6 +85,7 @@ ${tender_enquiry_period_end_date_input_locator} = jquery=[id$= @@ -85,6 +85,7 @@ ${tender_enquiry_period_end_date_input_locator} = jquery=[id$=
85 ${tender_tender_period_start_date_input_locator} = jquery=[id$="form-tender_period_start_date"] 85 ${tender_tender_period_start_date_input_locator} = jquery=[id$="form-tender_period_start_date"]
86 ${tender_tender_period_end_date_input_locator} = jquery=[id$="form-tender_period_end_date"] 86 ${tender_tender_period_end_date_input_locator} = jquery=[id$="form-tender_period_end_date"]
87 ${tender_tender_quick_mode_locator} = jquery=[id$="form-quick_mode"] 87 ${tender_tender_quick_mode_locator} = jquery=[id$="form-quick_mode"]
  88 +${tender_tender_auction_skip_mode_locator} = jquery=[id$="form-auction_skip_mode"]
88 ${tender_cpv_form_submit_success_msg} = Вид предмету закупівлі не відповідає вказаному коду CPV 89 ${tender_cpv_form_submit_success_msg} = Вид предмету закупівлі не відповідає вказаному коду CPV
89 ${tender_cpv_submit_btn_locator} = jquery=.animated-content .js-btn-confirm 90 ${tender_cpv_submit_btn_locator} = jquery=.animated-content .js-btn-confirm
90 ${tender_cpv_js_submit_btn_locator} = $('.animated-content .js-btn-confirm').click() 91 ${tender_cpv_js_submit_btn_locator} = $('.animated-content .js-btn-confirm').click()
Please register or login to post a comment