Showing
1 changed file
with
12 additions
and
5 deletions
@@ -683,25 +683,32 @@ decline tender | @@ -683,25 +683,32 @@ decline tender | ||
683 | [Documentation] Скасувати закупівлю | 683 | [Documentation] Скасувати закупівлю |
684 | 684 | ||
685 | open tender page by uaid ${tender_uaid} | 685 | open tender page by uaid ${tender_uaid} |
686 | - Execute Javascript $('#aside-part-pjax a[href*="/tender-cancellation/create?tenderId"]').click() | 686 | + go to ${broker_baseurl}/tender-cancellation/create?tenderId=${tender_uaid} |
687 | +# Execute Javascript $('#aside-part-pjax a[href*="/tender-cancellation/create?tenderId"]').click() | ||
687 | capture page screenshot | 688 | capture page screenshot |
688 | - wait until page contains element with reloading jquery=id="cancellationform-reason" | 689 | + wait until page contains element with reloading jquery=#cancellationform-reason |
689 | capture page screenshot | 690 | capture page screenshot |
690 | - input text to exist visible input jquery=id="cancellationform-reason" ${cancellation_reason} | 691 | + input text to exist visible input jquery=#cancellationform-reason ${cancellation_reason} |
691 | capture page screenshot | 692 | capture page screenshot |
692 | - choose file ${add_file_to_form_locator} ${doc_name} | 693 | + choose file jquery=#tender-cancel-form input[type$="file"] ${doc_name} |
693 | capture page screenshot | 694 | capture page screenshot |
694 | # wait until page does not contain element ${popup_dynamic_form_loading_element_locator} | 695 | # wait until page does not contain element ${popup_dynamic_form_loading_element_locator} |
695 | capture page screenshot | 696 | capture page screenshot |
696 | Execute Javascript $('button:contains("Скасувати закупівлю")').click() | 697 | Execute Javascript $('button:contains("Скасувати закупівлю")').click() |
697 | capture page screenshot | 698 | capture page screenshot |
699 | + sleep 10 | ||
698 | close current visible alert | 700 | close current visible alert |
699 | capture page screenshot | 701 | capture page screenshot |
702 | + Execute Javascript $('button[data-sign-url*="/tender-cancellation/create-sign"]').click() | ||
703 | + capture page screenshot | ||
700 | run keyword and ignore error Load Sign | 704 | run keyword and ignore error Load Sign |
701 | capture page screenshot | 705 | capture page screenshot |
702 | run keyword and ignore error close current visible alert | 706 | run keyword and ignore error close current visible alert |
703 | capture page screenshot | 707 | capture page screenshot |
704 | - | 708 | + submit form and check result ${bid_form_refresh_btn_locator} ${bid_form_refresh_success_msg} ${tender_created_checker_element_locator} ${true} |
709 | + ${cancellation_id} = get value by locator on opened page jquery=.cancellation-without-pseudo-table .cancellation-info-wrapper .info-row.opid .value | ||
710 | + ${cancellation} = openprocurement_client.Перевести скасування закупівлі в період очікування ${username} ${tender_uaid} ${cancellation_id} | ||
711 | + Set To Dictionary ${USERS.users['${tender_owner}']} cancellation_data=${cancellation} | ||
705 | 712 | ||
706 | Other | 713 | Other |
707 | input text to exist visible input ${claim_form_complaintform_description_input_locator} ${claim.data.description} | 714 | input text to exist visible input ${claim_form_complaintform_description_input_locator} ${claim.data.description} |
Please
register
or
login
to post a comment