Commit 8533c5fdda3584380f31001cc2a3b1f2bdc571d7

Authored by Playtenders
1 parent 3b5f4657

refactoring

@@ -216,14 +216,7 @@ Resource playtender_contr @@ -216,14 +216,7 @@ Resource playtender_contr
216 open tender form by uaid ${tender_uaid} 216 open tender form by uaid ${tender_uaid}
217 wait until page does not contain element with reloading ${tender_sync_element_locator} 217 wait until page does not contain element with reloading ${tender_sync_element_locator}
218 ${tender_form_lots_remove_item_btn_locator} = replace string ${tender_form_lots_remove_item_btn_locator_tpl} %item_id% ${item_id} 218 ${tender_form_lots_remove_item_btn_locator} = replace string ${tender_form_lots_remove_item_btn_locator_tpl} %item_id% ${item_id}
219 - wait until page contains element with reloading ${tender_form_lots_remove_item_btn_locator}  
220 - click visible element ${tender_form_lots_remove_item_btn_locator}  
221 - Wait Until Page Contains ${tender_lots_remove_item_form_submit_success_msg} 60  
222 - execute javascript ${not_alert_opened_close_btn_locator}  
223 - #run keyword and ignore error click visible element ${not_alert_opened_close_btn_locator}  
224 - capture page screenshot  
225 - Wait Until Page Does Not Contain ${tender_lots_remove_item_form_submit_success_msg} 10  
226 - capture page screenshot 219 + click removing form item and wait success result ${tender_form_lots_remove_item_btn_locator}
227 220
228 save tender form and wait synchronization 221 save tender form and wait synchronization
229 222
@@ -281,12 +274,8 @@ Resource playtender_contr @@ -281,12 +274,8 @@ Resource playtender_contr
281 [Documentation] Додати предмет item в лот з lot_id в описі для тендера tender_uaid. 274 [Documentation] Додати предмет item в лот з lot_id в описі для тендера tender_uaid.
282 275
283 open tender form by uaid ${tender_uaid} 276 open tender form by uaid ${tender_uaid}
284 -# click visible element ${tender_form_lots_add_item_btn_locator}  
285 ${items} = create list ${item} 277 ${items} = create list ${item}
286 fill tender form items ${items} 278 fill tender form items ${items}
287 -# wait until popup is visible  
288 -# fill tender item form in opened popup ${item}  
289 -# submit current visible popup  
290 save tender form and wait synchronization 279 save tender form and wait synchronization
291 280
292 281
@@ -704,7 +693,6 @@ Resource playtender_contr @@ -704,7 +693,6 @@ Resource playtender_contr
704 693
705 open tender page by uaid ${tender_uaid} 694 open tender page by uaid ${tender_uaid}
706 open tender form qualification ${award_num} 695 open tender form qualification ${award_num}
707 -# wait until popup is visible  
708 cancel award qualification 696 cancel award qualification
709 697
710 Затвердити постачальників 698 Затвердити постачальників
@@ -775,7 +763,6 @@ Resource playtender_contr @@ -775,7 +763,6 @@ Resource playtender_contr
775 763
776 open tender page by uaid ${tender_uaid} 764 open tender page by uaid ${tender_uaid}
777 open tender form prequalification ${qualification_num} 765 open tender form prequalification ${qualification_num}
778 -# wait until popup is visible  
779 cancel qualifications 766 cancel qualifications
780 767
781 Затвердити остаточне рішення кваліфікації 768 Затвердити остаточне рішення кваліфікації
@@ -66,12 +66,19 @@ cancel qualifications @@ -66,12 +66,19 @@ cancel qualifications
66 approve the final qualification decision 66 approve the final qualification decision
67 [Documentation] Перевести тендер tender_uaid в статус active.pre-qualification.stand-still. 67 [Documentation] Перевести тендер tender_uaid в статус active.pre-qualification.stand-still.
68 68
69 - wait until page contains ${qualification_form_approve_question_msg}  
70 - Execute Javascript ${qualification_form_approve_js_submit_btn_locator}  
71 - Wait Until Page Contains ${qualification_form_approve_success_msg} 60 69 + wait until alert is visible ${qualification_form_approve_question_msg}
  70 + click visible element ${alert_confirm_btn_locator}
72 wait until alert is visible ${qualification_form_approve_success_msg} 71 wait until alert is visible ${qualification_form_approve_success_msg}
73 - run keyword and ignore error run keyword if condition is not none ${qualification_form_approve_success_msg} close current visible alert  
74 - Wait Until Keyword Succeeds 1600 s 20 s Wait For QualificationsPeriodEnd 72 + close current visible alert
  73 +
  74 + wait until page does not contain element ${alert_confirm_btn_locator}
  75 +
  76 +# wait until page contains ${qualification_form_approve_question_msg}
  77 +# Execute Javascript ${qualification_form_approve_js_submit_btn_locator}
  78 +# Wait Until Page Contains ${qualification_form_approve_success_msg} 60
  79 +# wait until alert is visible ${qualification_form_approve_success_msg}
  80 +# run keyword and ignore error run keyword if condition is not none ${qualification_form_approve_success_msg} close current visible alert
  81 + run keyword and ignore error Wait Until Keyword Succeeds 1600 s 20 s Wait For QualificationsPeriodEnd
75 82
76 #qualification 83 #qualification
77 open tender form qualification 84 open tender form qualification
Please register or login to post a comment