Commit d54bcc18f0155ced8c8bf74456fbc507766f53b8
1 parent
d7926b5a
budget.amount + aboveThresholdEU + aboveThresholdUA
Showing
3 changed files
with
11 additions
and
0 deletions
| ... | ... | @@ -203,6 +203,7 @@ Resource playtender_agree |
| 203 | 203 | # fix for preventing error "Resolving variable '${award.value.amount}' failed: AttributeError: value" in next keywords for owner role |
| 204 | 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 | 207 | open tender page by uaid ${tender_uaid} |
| 207 | 208 | Run Keyword And Return If '${field_name}' == 'lots[0].minimalStep.currency' Отримати інформацію із лоту minimalStep.currency ${field_name} |
| 208 | 209 | Run Keyword And Return If '${field_name}' == 'lots[0].minimalStep.valueAddedTaxIncluded' Отримати інформацію із лоту minimalStep.valueAddedTaxIncluded ${field_name} |
| ... | ... | @@ -217,6 +218,7 @@ Resource playtender_agree |
| 217 | 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 | 219 | Run Keyword And Return If '${field_name}' in 'minimalStep.amount' Отримати інформацію із minimalStep.amount |
| 219 | 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 | 222 | ${field_name} = set variable tender.${field_name}.value |
| 221 | 223 | ${value} = get field_value by field_name on opened page ${field_name} |
| 222 | 224 | [Return] ${value} |
| ... | ... | @@ -869,6 +871,12 @@ Resource playtender_agree |
| 869 | 871 | activate stage 2 |
| 870 | 872 | submit form and check result ${tender_form_submit_btn_locator} ${tender_form_submit_success_msg} ${tender_created_checker_element_locator} |
| 871 | 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 | 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 | 150 | # run keyword and ignore error click element ${tender_tender_quick_mode_locator} |
| 151 | 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 | 153 | ${classification} = get from dictionary by keys ${data} classification |
| 153 | 154 | run keyword if condition is not none ${classification} select classification by code attributes ${plan_form_classification_edit_btn_locator} ${classification} |
| 154 | 155 | ${additional_classifications} = get from dictionary by keys ${data} additionalClassifications |
| ... | ... | @@ -257,6 +258,7 @@ fill tender general info 2 stage |
| 257 | 258 | ${date_start} = Get Current Date increment=03:00:00 |
| 258 | 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 | 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 | 262 | ${classification} = get from dictionary by keys ${data} classification |
| 261 | 263 | run keyword if condition is not none ${classification} select classification by code attributes ${plan_form_classification_edit_btn_locator} ${classification} |
| 262 | 264 | ${additional_classifications} = get from dictionary by keys ${data} additionalClassifications | ... | ... |
| ... | ... | @@ -85,6 +85,7 @@ ${tender_enquiry_period_end_date_input_locator} = jquery=[id$= |
| 85 | 85 | ${tender_tender_period_start_date_input_locator} = jquery=[id$="form-tender_period_start_date"] |
| 86 | 86 | ${tender_tender_period_end_date_input_locator} = jquery=[id$="form-tender_period_end_date"] |
| 87 | 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 | 89 | ${tender_cpv_form_submit_success_msg} = Вид предмету закупівлі не відповідає вказаному коду CPV |
| 89 | 90 | ${tender_cpv_submit_btn_locator} = jquery=.animated-content .js-btn-confirm |
| 90 | 91 | ${tender_cpv_js_submit_btn_locator} = $('.animated-content .js-btn-confirm').click() | ... | ... |
Please
register
or
login
to post a comment