Showing
2 changed files
with
44 additions
and
0 deletions
... | ... | @@ -1180,6 +1180,12 @@ Resource playtender_agree |
1180 | 1180 | decline tender ${username} ${tender_uaid} ${cancellation_reason} ${cancellation_reasonType} ${doc_name} ${cancellation_data} |
1181 | 1181 | |
1182 | 1182 | |
1183 | +Скасувати лот | |
1184 | + [Arguments] ${username} ${tender_uaid} ${lot_id} ${cancellation_reason} ${cancellation_reasonType} ${doc_name} ${cancellation_data} | |
1185 | + [Documentation] Скасувати лот | |
1186 | + | |
1187 | + decline lot ${username} ${tender_uaid} ${lot_id} ${cancellation_reason} ${cancellation_reasonType} ${doc_name} ${cancellation_data} | |
1188 | + | |
1183 | 1189 | |
1184 | 1190 | ######################################################################################################################## |
1185 | 1191 | ################################################### END CANCELLATION LOTS AND TENDERS KEYWORDS ######################### | ... | ... |
... | ... | @@ -754,3 +754,41 @@ decline tender |
754 | 754 | [return] ${tender} |
755 | 755 | |
756 | 756 | |
757 | +decline lot | |
758 | + [Arguments] ${username} ${tender_uaid} ${lot_id} ${cancellation_reason} ${cancellation_reasonType} ${doc_name} ${cancellation_data} | |
759 | + [Documentation] Скасувати закупівлю | |
760 | + | |
761 | + open tender page by uaid ${tender_uaid} | |
762 | + go to ${broker_baseurl}/tender-cancellation/create?tenderId=${tender_uaid} | |
763 | +# Execute Javascript $('#aside-part-pjax a[href*="/tender-cancellation/create?tenderId"]').click() | |
764 | + capture page screenshot | |
765 | + wait until page contains element with reloading jquery=#cancellationform-reason | |
766 | + capture page screenshot | |
767 | + | |
768 | + Execute Javascript $('#cancellationform-related_of').val('lot').change() | |
769 | + capture page screenshot | |
770 | + | |
771 | + input text to exist visible input jquery=#cancellationform-reason ${cancellation_reason} | |
772 | + capture page screenshot | |
773 | + choose file jquery=#tender-cancel-form input[type$="file"] ${doc_name} | |
774 | + capture page screenshot | |
775 | +# wait until page does not contain element ${popup_dynamic_form_loading_element_locator} | |
776 | + capture page screenshot | |
777 | + Execute Javascript $('button:contains("Скасувати закупівлю")').click() | |
778 | + capture page screenshot | |
779 | + sleep 10 | |
780 | + close current visible alert | |
781 | + capture page screenshot | |
782 | + Execute Javascript $('button[data-sign-url*="/tender-cancellation/create-sign"]').click() | |
783 | + capture page screenshot | |
784 | + run keyword and ignore error Load Sign | |
785 | + capture page screenshot | |
786 | + run keyword and ignore error close current visible alert | |
787 | + capture page screenshot | |
788 | + submit form and check result ${bid_form_refresh_btn_locator} ${bid_form_refresh_success_msg} ${tender_created_checker_element_locator} ${true} | |
789 | + ${cancellation_id} = get value by locator on opened page jquery=.cancellation-without-pseudo-table .cancellation-info-wrapper .info-row.opid .value | |
790 | + ${cancellation} = playtender_tender.Перевести скасування закупівлі в період очікування ${username} ${tender_uaid} ${cancellation_id} | |
791 | +# ${cancellation} = prepare tender data cancellation ${tender_data['data']} | |
792 | +# ${cancellation} = openprocurement_client.Перевести скасування закупівлі в період очікування ${username} ${tender_uaid} ${cancellation_id} | |
793 | + Set To Dictionary ${USERS.users['${tender_owner}']} cancellation_data=${cancellation} | |
794 | + | ... | ... |
Please
register
or
login
to post a comment