Showing
4 changed files
with
19 additions
and
6 deletions
@@ -1017,7 +1017,7 @@ Resource playtender_agree | @@ -1017,7 +1017,7 @@ Resource playtender_agree | ||
1017 | [Documentation] Завантажити файл з doc_id в заголовку для тендера tender_uaid в | 1017 | [Documentation] Завантажити файл з doc_id в заголовку для тендера tender_uaid в |
1018 | ... директорію OUTPUT_DIR для перевірки вмісту цього файлу. | 1018 | ... директорію OUTPUT_DIR для перевірки вмісту цього файлу. |
1019 | 1019 | ||
1020 | - Run Keyword And Return If '${SUITE_NAME}' == 'Contract Signing' Отримати документ до контракту ${username} ${tender_uaid} ${doc_id} | 1020 | + Run Keyword And Return If '${SUITE_NAME}' == 'Tests Files.Contract Signing' Отримати документ до контракту ${username} ${tender_uaid} ${doc_id} |
1021 | open tender page by uaid ${tender_uaid} | 1021 | open tender page by uaid ${tender_uaid} |
1022 | ${tender_new_doc_locator} = replace string ${tender_new_doc_locator_tpl} %doc_id% ${doc_id} | 1022 | ${tender_new_doc_locator} = replace string ${tender_new_doc_locator_tpl} %doc_id% ${doc_id} |
1023 | wait until page contains element with reloading ${tender_new_doc_locator} | 1023 | wait until page contains element with reloading ${tender_new_doc_locator} |
@@ -1285,6 +1285,7 @@ Resource playtender_agree | @@ -1285,6 +1285,7 @@ Resource playtender_agree | ||
1285 | ... ELSE Run Keyword If '${field_name}' == 'changes[0].rationale' get value by locator on opened page ${agreement_changes_0_rationale_value_locator} | 1285 | ... ELSE Run Keyword If '${field_name}' == 'changes[0].rationale' get value by locator on opened page ${agreement_changes_0_rationale_value_locator} |
1286 | ... ELSE Run Keyword If '${field_name}' == 'changes[0].modifications[0].itemId' get value by locator on opened page ${agreement_changes_0_modifications_0_itemId_value_locator} | 1286 | ... ELSE Run Keyword If '${field_name}' == 'changes[0].modifications[0].itemId' get value by locator on opened page ${agreement_changes_0_modifications_0_itemId_value_locator} |
1287 | ... ELSE Run Keyword If '${field_name}' == 'changes[0].modifications[0].factor' get value by locator on opened page ${agreement_changes_0_modifications_0_factor_value_locator} | 1287 | ... ELSE Run Keyword If '${field_name}' == 'changes[0].modifications[0].factor' get value by locator on opened page ${agreement_changes_0_modifications_0_factor_value_locator} |
1288 | + ... ELSE Run Keyword If '${field_name}' == 'changes[0].modifications[0].addend' get value by locator on opened page ${agreement_changes_0_modifications_0_addend_value_locator} | ||
1288 | ... ELSE Run Keyword If '${field_name}' == 'changes[1].rationaleType' get value by locator on opened page ${agreement_changes_1_rationaleType_value_locator} | 1289 | ... ELSE Run Keyword If '${field_name}' == 'changes[1].rationaleType' get value by locator on opened page ${agreement_changes_1_rationaleType_value_locator} |
1289 | ... ELSE Run Keyword If '${field_name}' == 'changes[1].rationale' get value by locator on opened page ${agreement_changes_1_rationale_value_locator} | 1290 | ... ELSE Run Keyword If '${field_name}' == 'changes[1].rationale' get value by locator on opened page ${agreement_changes_1_rationale_value_locator} |
1290 | ... ELSE Run Keyword If '${field_name}' == 'changes[1].modifications[0].itemId' get value by locator on opened page ${agreement_changes_1_modifications_0_itemId_value_locator} | 1291 | ... ELSE Run Keyword If '${field_name}' == 'changes[1].modifications[0].itemId' get value by locator on opened page ${agreement_changes_1_modifications_0_itemId_value_locator} |
@@ -1301,6 +1302,11 @@ Resource playtender_agree | @@ -1301,6 +1302,11 @@ Resource playtender_agree | ||
1301 | ... ELSE Run Keyword If '${field_name}' == 'changes[3].modifications[0].factor' get value by locator on opened page ${agreement_changes_2_modifications_0_factor_value_locator} | 1302 | ... ELSE Run Keyword If '${field_name}' == 'changes[3].modifications[0].factor' get value by locator on opened page ${agreement_changes_2_modifications_0_factor_value_locator} |
1302 | ... ELSE Run Keyword If '${field_name}' == 'changes[3].modifications[0].contractId' get value by locator on opened page ${} | 1303 | ... ELSE Run Keyword If '${field_name}' == 'changes[3].modifications[0].contractId' get value by locator on opened page ${} |
1303 | ... ELSE Run Keyword If '${field_name}' == 'changes[3].status' get value by locator on opened page ${agreement_changes_3_status_value_locator} | 1304 | ... ELSE Run Keyword If '${field_name}' == 'changes[3].status' get value by locator on opened page ${agreement_changes_3_status_value_locator} |
1305 | + Run Keyword If 'rationaleType' in '${field_name}' Run Keywords | ||
1306 | + ... run keyword if '${return_value}' == 'Зміна ціни за одиницю товару' ${return_value} = set variable itemPriceVariation | ||
1307 | + ... AND run keyword if '${return_value}' == 'Зміна ціни у зв’язку із зміною ставок податків і зборів' ${return_value} = set variable taxRate | ||
1308 | + ... AND run keyword if '${return_value}' == 'Зміна сторонніх показників (курсу, тарифів...)' ${return_value} = set variable thirdParty | ||
1309 | + ... AND run keyword if '${return_value}' == 'Припинення участі у рамковій угоді учасника' ${return_value} = set variable partyWithdrawal | ||
1304 | [Return] ${return_value} | 1310 | [Return] ${return_value} |
1305 | 1311 | ||
1306 | ######################################################################################################################## | 1312 | ######################################################################################################################## |
@@ -16,14 +16,17 @@ ${agreement_changes_0_status_value_locator} = jquery=.tabs | @@ -16,14 +16,17 @@ ${agreement_changes_0_status_value_locator} = jquery=.tabs | ||
16 | ${agreement_changes_0_rationaleType_value_locator} = jquery=.tabs__pane.tabs__pane--visible[id*="tab-agreement-change"] .agreement-contract-info-wrapper.info-wrapper .info-row.rationale-type span.value | 16 | ${agreement_changes_0_rationaleType_value_locator} = jquery=.tabs__pane.tabs__pane--visible[id*="tab-agreement-change"] .agreement-contract-info-wrapper.info-wrapper .info-row.rationale-type span.value |
17 | ${agreement_changes_0_rationale_value_locator} = jquery=.tabs__pane.tabs__pane--visible[id*="tab-agreement-change"] .agreement-contract-info-wrapper.info-wrapper .info-row.rationale span.value | 17 | ${agreement_changes_0_rationale_value_locator} = jquery=.tabs__pane.tabs__pane--visible[id*="tab-agreement-change"] .agreement-contract-info-wrapper.info-wrapper .info-row.rationale span.value |
18 | 18 | ||
19 | -${agreement_changes_0_modifications_0_itemId_value_locator} = jquery=.tabs__pane.tabs__pane--visible[id*="tab-agreement-change"] .agreement-contract-info-wrapper.info-wrapper .info-row.modification0-itemId.hidden | ||
20 | -${agreement_changes_0_modifications_0_addend_value_locator} = jquery=.tabs__pane.tabs__pane--visible[id*="tab-agreement-change"] .agreement-contract-info-wrapper.info-wrapper .info-row.modification0-factor.hidden | 19 | +${agreement_changes_0_modifications_0_itemId_value_locator} = jquery=.tabs__pane.tabs__pane--visible[id*="tab-agreement-change"]:nth(0) .agreement-contract-info-wrapper.info-wrapper .info-row.modification0-itemId.hidden |
20 | +${agreement_changes_0_modifications_0_factor_value_locator} = jquery=.tabs__pane.tabs__pane--visible[id*="tab-agreement-change"]:nth(0) .agreement-contract-info-wrapper.info-wrapper .info-row.modification0-factor.hidden | ||
21 | +${agreement_changes_0_modifications_0_factor_value_type} = float | ||
22 | +${agreement_changes_0_modifications_0_addend_value_locator} = jquery=.tabs__pane.tabs__pane--visible[id*="tab-agreement-change"]:nth(0) .agreement-contract-info-wrapper.info-wrapper .info-row.modification0-factor.hidden | ||
21 | 23 | ||
22 | ${agreement_changes_1_rationaleType_value_locator} = jquery=.tabs__pane[id*="tab-agreement-change"]:nth(1) .agreement-contract-info-wrapper.info-wrapper .info-row.rationale-type span.value | 24 | ${agreement_changes_1_rationaleType_value_locator} = jquery=.tabs__pane[id*="tab-agreement-change"]:nth(1) .agreement-contract-info-wrapper.info-wrapper .info-row.rationale-type span.value |
23 | ${agreement_changes_1_rationale_value_locator} = jquery=.tabs__pane[id*="tab-agreement-change"]:nth(1) .agreement-contract-info-wrapper.info-wrapper .info-row.rationale span.value | 25 | ${agreement_changes_1_rationale_value_locator} = jquery=.tabs__pane[id*="tab-agreement-change"]:nth(1) .agreement-contract-info-wrapper.info-wrapper .info-row.rationale span.value |
24 | 26 | ||
25 | ${agreement_changes_1_modifications_0_itemId_value_locator} = jquery=.tabs__pane[id*="tab-agreement-change"]:nth(1) .agreement-contract-info-wrapper.info-wrapper .info-row.modification0-itemId.hidden | 27 | ${agreement_changes_1_modifications_0_itemId_value_locator} = jquery=.tabs__pane[id*="tab-agreement-change"]:nth(1) .agreement-contract-info-wrapper.info-wrapper .info-row.modification0-itemId.hidden |
26 | ${agreement_changes_1_modifications_0_factor_value_locator} = jquery=.tabs__pane[id*="tab-agreement-change"]:nth(1) .agreement-contract-info-wrapper.info-wrapper .info-row.modification0-factor.hidden | 28 | ${agreement_changes_1_modifications_0_factor_value_locator} = jquery=.tabs__pane[id*="tab-agreement-change"]:nth(1) .agreement-contract-info-wrapper.info-wrapper .info-row.modification0-factor.hidden |
29 | +${agreement_changes_1_modifications_0_factor_value_type} = float | ||
27 | ${agreement_changes_1_status_value_locator} = jquery=.tabs__pane[id*="tab-agreement-change"]:nth(1) .agreement-contract-info-wrapper.info-wrapper .info-row.status.hidden | 30 | ${agreement_changes_1_status_value_locator} = jquery=.tabs__pane[id*="tab-agreement-change"]:nth(1) .agreement-contract-info-wrapper.info-wrapper .info-row.status.hidden |
28 | 31 | ||
29 | ${agreement_changes_2_rationaleType_value_locator} = jquery=.tabs__pane[id*="tab-agreement-change"]:nth(2) .agreement-contract-info-wrapper.info-wrapper .info-row.rationale-type span.value | 32 | ${agreement_changes_2_rationaleType_value_locator} = jquery=.tabs__pane[id*="tab-agreement-change"]:nth(2) .agreement-contract-info-wrapper.info-wrapper .info-row.rationale-type span.value |
@@ -31,6 +34,7 @@ ${agreement_changes_2_rationale_value_locator} = jquery=.tabs | @@ -31,6 +34,7 @@ ${agreement_changes_2_rationale_value_locator} = jquery=.tabs | ||
31 | 34 | ||
32 | ${agreement_changes_2_modifications_0_itemId_value_locator} = jquery=.tabs__pane[id*="tab-agreement-change"]:nth(2) .agreement-contract-info-wrapper.info-wrapper .info-row.modification0-itemId.hidden | 35 | ${agreement_changes_2_modifications_0_itemId_value_locator} = jquery=.tabs__pane[id*="tab-agreement-change"]:nth(2) .agreement-contract-info-wrapper.info-wrapper .info-row.modification0-itemId.hidden |
33 | ${agreement_changes_2_modifications_0_factor_value_locator} = jquery=.tabs__pane[id*="tab-agreement-change"]:nth(2) .agreement-contract-info-wrapper.info-wrapper .info-row.modification0-factor.hidden | 36 | ${agreement_changes_2_modifications_0_factor_value_locator} = jquery=.tabs__pane[id*="tab-agreement-change"]:nth(2) .agreement-contract-info-wrapper.info-wrapper .info-row.modification0-factor.hidden |
37 | +${agreement_changes_2_modifications_0_factor_value_type} = float | ||
34 | ${agreement_changes_2_status_value_locator} = jquery=.tabs__pane[id*="tab-agreement-change"]:nth(2) .agreement-contract-info-wrapper.info-wrapper .info-row.status.hidden | 38 | ${agreement_changes_2_status_value_locator} = jquery=.tabs__pane[id*="tab-agreement-change"]:nth(2) .agreement-contract-info-wrapper.info-wrapper .info-row.status.hidden |
35 | 39 | ||
36 | ${agreement_changes_3_rationaleType_value_locator} = jquery=.tabs__pane[id*="tab-agreement-change"]:nth(3) .agreement-contract-info-wrapper.info-wrapper .info-row.rationale-type span.value | 40 | ${agreement_changes_3_rationaleType_value_locator} = jquery=.tabs__pane[id*="tab-agreement-change"]:nth(3) .agreement-contract-info-wrapper.info-wrapper .info-row.rationale-type span.value |
@@ -38,6 +42,7 @@ ${agreement_changes_3_rationale_value_locator} = jquery=.tabs | @@ -38,6 +42,7 @@ ${agreement_changes_3_rationale_value_locator} = jquery=.tabs | ||
38 | 42 | ||
39 | ${agreement_changes_3_modifications_0_itemId_value_locator} = jquery=.tabs__pane[id*="tab-agreement-change"]:nth(3) .agreement-contract-info-wrapper.info-wrapper .info-row.itemid span.value | 43 | ${agreement_changes_3_modifications_0_itemId_value_locator} = jquery=.tabs__pane[id*="tab-agreement-change"]:nth(3) .agreement-contract-info-wrapper.info-wrapper .info-row.itemid span.value |
40 | ${agreement_changes_3_modifications_0_factor_value_locator} = jquery=.tabs__pane[id*="tab-agreement-change"]:nth(3) .agreement-contract-info-wrapper.info-wrapper .info-row.modification0-factor.hidden | 44 | ${agreement_changes_3_modifications_0_factor_value_locator} = jquery=.tabs__pane[id*="tab-agreement-change"]:nth(3) .agreement-contract-info-wrapper.info-wrapper .info-row.modification0-factor.hidden |
45 | +${agreement_changes_3_modifications_0_factor_value_type} = float | ||
41 | ${agreement_changes_3_status_value_locator} = jquery=.tabs__pane[id*="tab-agreement-change"]:nth(3) .agreement-contract-info-wrapper.info-wrapper .info-row.status.hidden | 46 | ${agreement_changes_3_status_value_locator} = jquery=.tabs__pane[id*="tab-agreement-change"]:nth(3) .agreement-contract-info-wrapper.info-wrapper .info-row.status.hidden |
42 | 47 | ||
43 | ${agreement_form_refresh_success_msg} = Рамкова угода оновлена. | 48 | ${agreement_form_refresh_success_msg} = Рамкова угода оновлена. |
@@ -326,8 +326,9 @@ Change the status of the complaint | @@ -326,8 +326,9 @@ Change the status of the complaint | ||
326 | [Documentation] Змінює статус скарги complaintID | 326 | [Documentation] Змінює статус скарги complaintID |
327 | 327 | ||
328 | open tender page by uaid ${tender_uaid} | 328 | open tender page by uaid ${tender_uaid} |
329 | - log many ${confirmation_data} | ||
330 | - Run Keyword If "АМКУ по скарзі пре-кваліфікації учасника" in "${TEST TAGS}" or "АМКУ по скарзі на визначення переможця" in "${TEST TAGS}" amku result ${username} ${tender_uaid} ${complaintID} ${confirmation_data} | 329 | + log many ${TEST TAGS} |
330 | +# Run Keyword If "АМКУ по скарзі пре-кваліфікації учасника" in "${TEST TAGS}" or "АМКУ по скарзі на визначення переможця" in "${TEST TAGS}" amku result ${username} ${tender_uaid} ${complaintID} ${confirmation_data} | ||
331 | + Run Keyword If "\u0417\u0430\u043c\u043e\u0432\u043d\u0438\u043a \u0432\u0438\u043a\u043e\u043d\u0443\u0454" in "${TEST TAGS}" or "АМКУ по скарзі на визначення переможця" in "${TEST TAGS}" amku result ${username} ${tender_uaid} ${complaintID} ${confirmation_data} | ||
331 | capture page screenshot | 332 | capture page screenshot |
332 | click visible element ${claim_page_open_btn_locator} | 333 | click visible element ${claim_page_open_btn_locator} |
333 | capture page screenshot | 334 | capture page screenshot |
@@ -356,7 +356,7 @@ get value from lot | @@ -356,7 +356,7 @@ get value from lot | ||
356 | [Arguments] ${doc_id} | 356 | [Arguments] ${doc_id} |
357 | [Documentation] Отримати значення поля title з документу з doc_id в описі для тендера tender_uaid. | 357 | [Documentation] Отримати значення поля title з документу з doc_id в описі для тендера tender_uaid. |
358 | 358 | ||
359 | - Run Keyword And Return If '${SUITE_NAME}' == 'Contract Signing' Отримати інформацію із документа title контракту ${doc_id} | 359 | + Run Keyword And Return If '${SUITE_NAME}' == 'Tests Files.Contract Signing' Отримати інформацію із документа title контракту ${doc_id} |
360 | #заготовка | 360 | #заготовка |
361 | ${tender_new_doc_locator} = replace string ${tender_new_doc_locator_tpl} %doc_id% ${doc_id} | 361 | ${tender_new_doc_locator} = replace string ${tender_new_doc_locator_tpl} %doc_id% ${doc_id} |
362 | wait until page contains element with reloading ${tender_new_doc_locator} | 362 | wait until page contains element with reloading ${tender_new_doc_locator} |
@@ -519,6 +519,7 @@ Wait For QualificationsPeriodEnd | @@ -519,6 +519,7 @@ Wait For QualificationsPeriodEnd | ||
519 | Отримати інформацію із contracts[1].value.amountNet | 519 | Отримати інформацію із contracts[1].value.amountNet |
520 | [Documentation] Отримати значення поля contracts[1].value.amountNet | 520 | [Documentation] Отримати значення поля contracts[1].value.amountNet |
521 | 521 | ||
522 | + submit form and check result ${bid_form_refresh_btn_locator} ${bid_form_refresh_success_msg} ${tender_created_checker_element_locator} ${true} | ||
522 | ${return_value} = get value by locator on opened page ${tender_contracts_1_amountnet_value_locator} ${tender_contracts_1_amountnet_value_type} | 523 | ${return_value} = get value by locator on opened page ${tender_contracts_1_amountnet_value_locator} ${tender_contracts_1_amountnet_value_type} |
523 | [return] ${return_value} | 524 | [return] ${return_value} |
524 | 525 |
Please
register
or
login
to post a comment