Commit 3d705a716bcd02be2e1e31b7222bde0757a28c9f

Authored by Playtenders
1 parent 9f63885b

decline tender

Showing 1 changed file with 12 additions and 5 deletions
... ... @@ -683,25 +683,32 @@ decline tender
683 683 [Documentation] Скасувати закупівлю
684 684
685 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 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 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 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 694 capture page screenshot
694 695 # wait until page does not contain element ${popup_dynamic_form_loading_element_locator}
695 696 capture page screenshot
696 697 Execute Javascript $('button:contains("Скасувати закупівлю")').click()
697 698 capture page screenshot
  699 + sleep 10
698 700 close current visible alert
699 701 capture page screenshot
  702 + Execute Javascript $('button[data-sign-url*="/tender-cancellation/create-sign"]').click()
  703 + capture page screenshot
700 704 run keyword and ignore error Load Sign
701 705 capture page screenshot
702 706 run keyword and ignore error close current visible alert
703 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 713 Other
707 714 input text to exist visible input ${claim_form_complaintform_description_input_locator} ${claim.data.description}
... ...
Please register or login to post a comment