Showing
2 changed files
with
3 additions
and
3 deletions
... | ... | @@ -131,7 +131,7 @@ Resource playtender_contr |
131 | 131 | Run Keyword If '${SUITE_NAME}' == 'Tests Files.Complaints' and '${procurementMethodType}' == 'belowThreshold' Go To ${BROKERS['playtender'].basepage}/utils/config?tacceleration=720 |
132 | 132 | open new tender form |
133 | 133 | fill tender form ${tender_prepared_data} |
134 | - submit form and check result ${tender_form_submit_btn_locator} ${tender_form_submit_success_msg} ${tender_created_checker_element_locator} | |
134 | + submit form and check result ${tender_form_submit_btn_locator} ${tender_form_submit_success_msg} ${tender_created_checker_element_locator} ${true} | |
135 | 135 | wait until page does not contain element with reloading ${tender_sync_element_locator} |
136 | 136 | wait until page contains element with reloading ${tender_uaid_text_locator} |
137 | 137 | ${tender_uaid} = get text ${tender_uaid_text_locator} | ... | ... |
... | ... | @@ -316,7 +316,7 @@ submit current visible popup |
316 | 316 | wait until page does not contain element ${popup_last_locator} 30s Current popup was not hidden |
317 | 317 | |
318 | 318 | submit form and check result |
319 | - [Arguments] ${submit_btn_locator} ${wait_msg}=${None} ${wait_element_locator}=${None} | |
319 | + [Arguments] ${submit_btn_locator} ${wait_msg}=${None} ${wait_element_locator}=${None} ${sign_is}=${None} | |
320 | 320 | [Documentation] сабмітить форму і чекає повідомлення (якщо задано) + елемент (якщо задано) |
321 | 321 | |
322 | 322 | click visible element ${submit_btn_locator} |
... | ... | @@ -331,7 +331,7 @@ submit form and check result |
331 | 331 | run keyword and ignore error run keyword if condition is not none ${wait_msg} close current visible alert |
332 | 332 | |
333 | 333 | #cat проба |
334 | - run keyword and ignore error Load Sign | |
334 | + run keyword and ignore error run keyword if not ${sign_is} Load Sign | |
335 | 335 | run keyword and ignore error close current visible alert |
336 | 336 | run keyword and ignore error run keyword if condition is not none ${wait_element_locator} wait until element is visible ${wait_element_locator} 60 |
337 | 337 | run keyword and ignore error 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 | ... | ... |
Please
register
or
login
to post a comment