Commit 391d6ef16dcb194a19ae79a493c713adc5251923

Authored by Playtenders
1 parent 6f2c3f87

agreement

@@ -152,7 +152,7 @@ Resource playtender_contr @@ -152,7 +152,7 @@ Resource playtender_contr
152 run keyword if ${is_test_role_owner} and '${field_name}' in 'awards[0].complaintPeriod.endDate awards[1].complaintPeriod.endDate awards[2].complaintPeriod.endDate awards[3].complaintPeriod.endDate' fix awards data in global Users variable ${username} 152 run keyword if ${is_test_role_owner} and '${field_name}' in 'awards[0].complaintPeriod.endDate awards[1].complaintPeriod.endDate awards[2].complaintPeriod.endDate awards[3].complaintPeriod.endDate' fix awards data in global Users variable ${username}
153 153
154 open tender page by uaid ${tender_uaid} 154 open tender page by uaid ${tender_uaid}
155 - wait until page does not contain element with reloading ${tender_sync_element_locator} 155 +# wait until page does not contain element with reloading ${tender_sync_element_locator}
156 run keyword if '${field_name}' == 'status' wait for tender status 156 run keyword if '${field_name}' == 'status' wait for tender status
157 run keyword if '${field_name}' == 'agreements[0].status' Wait Until Keyword Succeeds 1600 s 20 s wait for agreements status active 157 run keyword if '${field_name}' == 'agreements[0].status' Wait Until Keyword Succeeds 1600 s 20 s wait for agreements status active
158 run keyword if '${field_name}' == 'qualificationPeriod.endDate' Wait Until Keyword Succeeds 1600 s 20 s Wait For QualificationsPeriodEnd 158 run keyword if '${field_name}' == 'qualificationPeriod.endDate' Wait Until Keyword Succeeds 1600 s 20 s Wait For QualificationsPeriodEnd
@@ -685,7 +685,7 @@ Resource playtender_contr @@ -685,7 +685,7 @@ Resource playtender_contr
685 685
686 open tender page by uaid ${tender_uaid} 686 open tender page by uaid ${tender_uaid}
687 open tender form qualification ${award_num} 687 open tender form qualification ${award_num}
688 - confirm award qualification ${username} ${award_num} 688 + run keyword if ${award_num} != 3 confirm award qualification ${username} ${award_num}
689 689
690 Дискваліфікувати постачальника 690 Дискваліфікувати постачальника
691 [Arguments] ${username} ${tender_uaid} ${award_num} 691 [Arguments] ${username} ${tender_uaid} ${award_num}
@@ -706,6 +706,14 @@ Resource playtender_contr @@ -706,6 +706,14 @@ Resource playtender_contr
706 # wait until popup is visible 706 # wait until popup is visible
707 cancel award qualification 707 cancel award qualification
708 708
  709 +Затвердити постачальників
  710 + [Arguments] ${username} ${tender_uaid}
  711 + [Documentation] Перевести постачальників для тендера tender_uaid
  712 + ... в статус active.
  713 +
  714 + open tender page by uaid ${tender_uaid}
  715 + confirm awards
  716 +
709 ######################################################################################################################## 717 ########################################################################################################################
710 ################################################### END QUALIFICATION KEYWORDS ######################################## 718 ################################################### END QUALIFICATION KEYWORDS ########################################
711 ######################################################################################################################## 719 ########################################################################################################################
@@ -306,4 +306,16 @@ confirm award @@ -306,4 +306,16 @@ confirm award
306 run keyword and ignore error submit form and check result ${qualification_form_submit_btn_locator} ${qualification_award_after_ecp_form_submit_success_msg} ${None} 306 run keyword and ignore error submit form and check result ${qualification_form_submit_btn_locator} ${qualification_award_after_ecp_form_submit_success_msg} ${None}
307 capture page screenshot 307 capture page screenshot
308 308
  309 +confirm awards
  310 + [Documentation] Перевести постачальників для тендера tender_uaid
  311 + ... в статус active.
  312 +
  313 + click visible element ${qualification_agreement_form_approve_submit_btn_locator}
  314 + wait until page contains ${qualification_form_approve_question_msg}
  315 + Execute Javascript ${qualification_form_approve_js_submit_btn_locator}
  316 + Wait Until Page Contains ${qualification_agreement_form_approve_success_msg} 60
  317 + wait until alert is visible ${qualification_agreement_form_approve_success_msg}
  318 + run keyword and ignore error run keyword if condition is not none ${qualification_agreement_form_approve_success_msg} close current visible alert
  319 + Wait Until Keyword Succeeds 800 s 20 s Wait For QualificationsPeriodEnd
  320 +
309 321
@@ -24,6 +24,8 @@ ${qualification_form_submit_btn_locator} = jquery=.fanc @@ -24,6 +24,8 @@ ${qualification_form_submit_btn_locator} = jquery=.fanc
24 ${qualification_form_approve_submit_btn_locator} = jquery=.jconfirm-box-container .btn.btn-default 24 ${qualification_form_approve_submit_btn_locator} = jquery=.jconfirm-box-container .btn.btn-default
25 ${qualification_form_approve_success_msg} = Прекваліфікація підтверджена, дочекайтесь опублікування на сайті уповноваженого органу. 25 ${qualification_form_approve_success_msg} = Прекваліфікація підтверджена, дочекайтесь опублікування на сайті уповноваженого органу.
26 ${qualification_form_approve_js_submit_btn_locator} = $('.jconfirm-box-container .btn.btn-default').click() 26 ${qualification_form_approve_js_submit_btn_locator} = $('.jconfirm-box-container .btn.btn-default').click()
  27 +${qualification_agreement_form_approve_submit_btn_locator} = jquery=.aside__inner a.js-qualification-approve
  28 +${qualification_agreement_form_approve_success_msg} = Кваліфікація підтверджена, дочекайтесь опублікування на сайті уповноваженого органу.
27 29
28 ${qualification_form_0_open_btn_locator} = jquery=#bids-pjax .pseudo-table__row:nth(1) a[href*="/tender/qualification"] 30 ${qualification_form_0_open_btn_locator} = jquery=#bids-pjax .pseudo-table__row:nth(1) a[href*="/tender/qualification"]
29 ${qualification_form_1_open_btn_locator} = jquery=#bids-pjax .pseudo-table__row:nth(2) a[href*="/tender/qualification"] 31 ${qualification_form_1_open_btn_locator} = jquery=#bids-pjax .pseudo-table__row:nth(2) a[href*="/tender/qualification"]
Please register or login to post a comment