Showing
2 changed files
with
12 additions
and
4 deletions
| ... | ... | @@ -325,9 +325,7 @@ submit form and check result |
| 325 | 325 | Capture Page Screenshot |
| 326 | 326 | run keyword and ignore error execute javascript ${tender_cpv_js_submit_btn_locator} |
| 327 | 327 | Capture Page Screenshot |
| 328 | - run keyword and ignore error Wait Until Page Contains ${tender_form_submit__reporting_success_msg} 60 | |
| 329 | - run keyword and ignore error wait until alert is visible ${tender_form_submit__reporting_success_msg} | |
| 330 | - run keyword and ignore error run keyword if '${mode}' in 'reporting' close current visible alert | |
| 328 | + run keyword and ignore error run keyword if '${mode}' in 'reporting' close sync alert ${tender_form_submit_reporting_success_msg} | |
| 331 | 329 | run keyword if condition is not none ${wait_msg} Wait Until Page Contains ${wait_msg} 60 |
| 332 | 330 | run keyword if condition is not none ${wait_msg} wait until alert is visible ${wait_msg} |
| 333 | 331 | run keyword and ignore error run keyword if condition is not none ${wait_msg} close current visible alert |
| ... | ... | @@ -338,6 +336,16 @@ submit form and check result |
| 338 | 336 | run keyword if condition is not none ${wait_element_locator} wait until element is visible ${wait_element_locator} 60 |
| 339 | 337 | run keyword if condition is not none ${wait_element_locator} wait until page contains element ${wait_element_locator} 60s Element was not shown after form submitting |
| 340 | 338 | |
| 339 | +close sync alert | |
| 340 | + [Arguments] ${wait_msg}=${None} | |
| 341 | + [Documentation] чекає поки попап не стане видимим на сторінці | |
| 342 | + | |
| 343 | + ${status}= Run Keyword And Return Status Page Should Contain ${wait_msg} | |
| 344 | + run keyword and ignore error run keyword if ${status} Wait Until Page Contains ${wait_msg} 60 | |
| 345 | + run keyword and ignore error run keyword if ${status} wait until alert is visible ${wait_msg} | |
| 346 | + run keyword and ignore error run keyword if ${status} close current visible alert | |
| 347 | + | |
| 348 | + | |
| 341 | 349 | wait until popup is visible |
| 342 | 350 | [Arguments] ${popup_locator}=${None} ${waiting_timeout}=30s ${waiting_error}=Opened popup still not visible |
| 343 | 351 | [Documentation] чекає поки попап не стане видимим на сторінці | ... | ... |
| ... | ... | @@ -62,7 +62,7 @@ ${buyer_form_popup_identifier_id_input_locator} = jquery=.fanc |
| 62 | 62 | ${tender_load_form_after_mode_locator} = jquery=#tender-form-pjax.loading-wrapper |
| 63 | 63 | #${tender_form_submit_success_msg} = дочекайтеся опублікування на сайті уповноваженого органу |
| 64 | 64 | ${tender_form_submit_success_msg} = опублікування на сайті уповноваженого органу |
| 65 | -${tender_form_submit__reporting_success_msg} = Закупівля успішно створена, дочекайтесь закінчення синхронізації, після чого потрібно накласти ЕЦП/КЕП | |
| 65 | +${tender_form_submit_reporting_success_msg} = Закупівля успішно створена, дочекайтесь закінчення синхронізації, після чого потрібно накласти ЕЦП/КЕП | |
| 66 | 66 | ${tender_form_locator} = id=tender-form |
| 67 | 67 | ${tender_form_procurement_method_type_input_locator} = jquery=.form-inline [id$="form-procurement_method_type"] |
| 68 | 68 | ${tender_multilot_locator} = jquery=[id$="form-is_multilot"] | ... | ... |
Please
register
or
login
to post a comment