Commit 95c7b907aa7c6dc5f66df75d939ac7d9522abb8c
1 parent
e968c4e8
value.valueAddedTaxIncluded single_item
Showing
2 changed files
with
12 additions
and
0 deletions
| @@ -195,6 +195,7 @@ Resource playtender_agree | @@ -195,6 +195,7 @@ Resource playtender_agree | ||
| 195 | [Arguments] ${username} ${tender_uaid} ${save_key}=${Empty} | 195 | [Arguments] ${username} ${tender_uaid} ${save_key}=${Empty} |
| 196 | [Documentation] Знайти тендер з uaid рівним tender_uaid. | 196 | [Documentation] Знайти тендер з uaid рівним tender_uaid. |
| 197 | 197 | ||
| 198 | + Run Keyword If '${TEST_NAME}' == 'Можливість знайти звіт про укладений договір по ідентифікатору' sleep 1200 | ||
| 198 | open tender search form | 199 | open tender search form |
| 199 | go to https://staging.playtender.com.ua/?query%5B%5D=${tender_uaid} | 200 | go to https://staging.playtender.com.ua/?query%5B%5D=${tender_uaid} |
| 200 | input to search form and wait results ${tender_search_form_query_input_locator} ${tender_uaid} ${tender_search_form_result_locator_tpl} | 201 | input to search form and wait results ${tender_search_form_query_input_locator} ${tender_uaid} ${tender_search_form_result_locator_tpl} |
| @@ -211,6 +212,7 @@ Resource playtender_agree | @@ -211,6 +212,7 @@ Resource playtender_agree | ||
| 211 | Run Keyword And Return If '${field_name}' == 'lots[0].minimalStep.currency' Отримати інформацію із лоту minimalStep.currency ${field_name} | 212 | Run Keyword And Return If '${field_name}' == 'lots[0].minimalStep.currency' Отримати інформацію із лоту minimalStep.currency ${field_name} |
| 212 | Run Keyword And Return If '${field_name}' == 'lots[0].minimalStep.valueAddedTaxIncluded' Отримати інформацію із лоту minimalStep.valueAddedTaxIncluded ${field_name} | 213 | Run Keyword And Return If '${field_name}' == 'lots[0].minimalStep.valueAddedTaxIncluded' Отримати інформацію із лоту minimalStep.valueAddedTaxIncluded ${field_name} |
| 213 | Run Keyword And Return If '${field_name}' == 'lots[0].value.valueAddedTaxIncluded' Отримати інформацію із лоту value.valueAddedTaxIncluded ${field_name} | 214 | Run Keyword And Return If '${field_name}' == 'lots[0].value.valueAddedTaxIncluded' Отримати інформацію із лоту value.valueAddedTaxIncluded ${field_name} |
| 215 | + Run Keyword And Return If '${field_name}' == 'value.valueAddedTaxIncluded' Отримати інформацію із value.valueAddedTaxIncluded ${field_name} | ||
| 214 | Run Keyword And Return If '${field_name}' == 'complaintPeriod.endDate' Отримати інформацію із complaintPeriod.endDate | 216 | Run Keyword And Return If '${field_name}' == 'complaintPeriod.endDate' Отримати інформацію із complaintPeriod.endDate |
| 215 | Run Keyword And Return If '${field_name}' == 'items[0].deliveryLocation.latitude' Fail Поле не відображаем | 217 | Run Keyword And Return If '${field_name}' == 'items[0].deliveryLocation.latitude' Fail Поле не відображаем |
| 216 | run keyword if '${field_name}' == 'status' wait for tender status | 218 | run keyword if '${field_name}' == 'status' wait for tender status |
| @@ -561,4 +561,14 @@ Wait date | @@ -561,4 +561,14 @@ Wait date | ||
| 561 | Run Keyword If ${sleep} > 0 Sleep ${sleep} | 561 | Run Keyword If ${sleep} > 0 Sleep ${sleep} |
| 562 | 562 | ||
| 563 | 563 | ||
| 564 | +Отримати інформацію із value.valueAddedTaxIncluded | ||
| 565 | + [Arguments] ${lot_id} | ||
| 566 | + [Documentation] Отримати значення поля description з лоту з lot_id в описі для тендера tender_uaid. | ||
| 567 | + | ||
| 568 | +# ${tender_lot_value_value_added_tax_included_value_locator} = replace string ${tender_lot_value_value_added_tax_included_value_locator_tpl} %lot_id% ${lot_id} | ||
| 569 | + ${return_value} = get value by locator on opened page jquery= #tender-general-info .budget .value | ||
| 570 | + ${return_value} = set variable if 'з ПДВ' in '${return_value}' ${True} ${False} | ||
| 571 | +# ${return_value} = set variable if ${return_value} == 1 True | ||
| 572 | + [return] ${return_value} | ||
| 573 | + | ||
| 564 | 574 |
Please
register
or
login
to post a comment