Commit b3c2278318776ca06ba2a8b9ec3ff4fe33441455

Authored by Playtenders
1 parent 3e9c3b7f

mistaken

... ... @@ -683,7 +683,7 @@ Resource playtender_agree
683 683 [Arguments] ${username} ${tender_uaid} ${complaintID} ${document}
684 684 [Documentation] Завантажити документацію до вимоги
685 685
686   - Run Keyword And Return Change the status of the complaint ${username} ${tender_uaid} ${complaintID} ${confirmation_data}
  686 + Run Keyword And Return Upload documentation to requirement ${username} ${tender_uaid} ${complaintID} ${document}
687 687
688 688 Виконати оплату скарги
689 689 [Arguments] ${username} ${payment_data}
... ...
... ... @@ -326,7 +326,8 @@ Change the status of the complaint
326 326 capture page screenshot
327 327 Run Keyword If '${confirmation_data.data.status}' == 'mistaken' Run keywords
328 328 # ... Execute Javascript $('#tender-complaint-list a[href*="/tender-complaint/complaint-cancel"]').click()
329   - ... AND capture page screenshot
  329 +# ... AND capture page screenshot
  330 + ... capture page screenshot
330 331 # ... AND wait until element is visible ${select_complaint_submit_success_msg} 5
331 332 ... AND capture page screenshot
332 333 ... AND submit form and check result ${qualification_form_submit_btn_locator} ${select_complaint_submit_success_msg}
... ... @@ -358,3 +359,37 @@ complete the payment of the complaint
358 359 capture page screenshot
359 360 Execute Javascript $('#tender-complaint-list a[href*="/testing/complaint-status-change"]').click()
360 361 capture page screenshot
  362 +
  363 +Upload documentation to requirement
  364 + [Arguments] ${username} ${tender_uaid} ${complaintID} ${document}
  365 + [Documentation] Завантажити документацію до вимоги
  366 +
  367 + open tender page by uaid ${tender_uaid}
  368 + capture page screenshot
  369 + click visible element ${claim_page_open_btn_locator}
  370 + capture page screenshot
  371 + ${claim_open_form_answer_locator} = replace string ${claim_open_form_answer_btn_locator_tpl} %title% ${complaintID}
  372 + capture page screenshot
  373 + wait until page contains element with reloading ${claim_open_form_answer_locator}
  374 + capture page screenshot
  375 +
  376 + Execute Javascript $('#tender-complaint-list a[href*="/tender-complaint/update"]').click()
  377 + choose file ${add_file_to_complaint_form_locator} ${document}
  378 + ${add_file_to_complaint_title_locator} = replace string ${add_file_to_complaint_title_locator_tpl} %title% ${document}
  379 + run keyword and ignore error wait until page does not contain element ${add_file_to_complaint_title_locator}
  380 + wait until element is visible ${add_file_to_complaint_title_locator}
  381 + click visible element ${select_add_file_to_complaint_success_btn_locator}
  382 + submit form and check result ${select_add_file_to_complaint_success_btn_locator} ${select_add_file_to_complaint_submit_success_msg}
  383 +
  384 +
  385 +document to bid edit1
  386 + [Arguments] ${path} ${doc_type}=documents
  387 + [Documentation] Змінити документ з doc_id в описі в пропозиції користувача username для
  388 + ... тендера tender_uaid на документ, який знаходиться по шляху path.
  389 +
  390 + open popup by btn locator ${bid_form_open_btn_locator} ${bid_popup_locator}
  391 +# click visible element ${bid_form_edit_document_all_btn_locator}
  392 + capture page screenshot
  393 + choose file ${bid_form_edit_document_all_btn_locator} ${path}
  394 + capture page screenshot
  395 +# wait until element is visible ${bid_form_add_document_type_input_locator}
... ...
... ... @@ -63,3 +63,8 @@ ${select_complaint_cancell_submit_success_msg} = jquery=#tend
63 63 ${select_complaint_submit_success_msg} = Ви дійсно бажаєте скасувати обрану скаргу?
64 64 ${select_complaint_success_btn_locator} = jquery=.animated-content button.js-btn-confirm
65 65 ${select_complaint_submit2_success_msg} = Скарга успішно скасована.
  66 +
  67 +${add_file_to_complaint_form_locator} = jquery=#tender-complaint-update-form .js-upload-documents input[type$="file"]
  68 +${add_file_to_complaint_title_locator_tpl} = jquery=.fancybox-slide .document-title-wrapper a[href*="uploads/complaint_documents/%title%"]
  69 +${select_add_file_to_complaint_success_btn_locator} = jquery=.fancybox-slide .btn.btn-success
  70 +${select_add_file_to_complaint_submit_success_msg} = Скарга успішно відредагована.
... ...
Please register or login to post a comment