Commit 0482bc13c8e9ce4770cba09811029e19021a6f53

Authored by Playtenders
1 parent 86ea2e2c

fix criteria

@@ -149,7 +149,8 @@ Resource playtender_agree @@ -149,7 +149,8 @@ Resource playtender_agree
149 Run Keyword If '${SUITE_NAME}' == 'Tests Files.Complaints' and '${procurementMethodType}' == 'belowThreshold' Go To ${BROKERS['playtender'].basepage}/utils/config?tacceleration=720 149 Run Keyword If '${SUITE_NAME}' == 'Tests Files.Complaints' and '${procurementMethodType}' == 'belowThreshold' Go To ${BROKERS['playtender'].basepage}/utils/config?tacceleration=720
150 open new tender form 150 open new tender form
151 fill tender form ${tender_prepared_data} 151 fill tender form ${tender_prepared_data}
152 - submit form and check result ${tender_form_submit_btn_locator} ${tender_form_submit_success_msg} ${tender_created_checker_element_locator} ${true} 152 +#### submit form and check result ${tender_form_submit_btn_locator} ${tender_form_submit_success_msg} ${tender_created_checker_element_locator} ${true}
  153 + submit form and check result ${tender_form_submit_btn_locator} ${tender_form_submit_success_msg} ${tender_created_checker_element_locator} ${false}
153 wait until page does not contain element with reloading ${tender_sync_element_locator} 154 wait until page does not contain element with reloading ${tender_sync_element_locator}
154 wait until page contains element with reloading ${tender_uaid_text_locator} 155 wait until page contains element with reloading ${tender_uaid_text_locator}
155 ${tender_uaid} = get text ${tender_uaid_text_locator} 156 ${tender_uaid} = get text ${tender_uaid_text_locator}
@@ -76,7 +76,7 @@ get claim information @@ -76,7 +76,7 @@ get claim information
76 click visible element ${claim_page_open_btn_locator} 76 click visible element ${claim_page_open_btn_locator}
77 capture page screenshot 77 capture page screenshot
78 ${claim_open_form_answer_locator} = replace string ${claim_open_form_answer_btn_locator_tpl} %title% ${complaintID} 78 ${claim_open_form_answer_locator} = replace string ${claim_open_form_answer_btn_locator_tpl} %title% ${complaintID}
79 - wait until page contains element with reloading ${claim_open_form_answer_locator} 79 + wait until page contains element with reloading ${claim_open_form_answer_locator} 30m
80 capture page screenshot 80 capture page screenshot
81 81
82 ${claim_wrapper_complain_id_value_locator} = set variable ${claim_open_form_answer_locator} 82 ${claim_wrapper_complain_id_value_locator} = set variable ${claim_open_form_answer_locator}
@@ -316,7 +316,7 @@ submit current visible popup @@ -316,7 +316,7 @@ submit current visible popup
316 wait until page does not contain element ${popup_last_locator} 30s Current popup was not hidden 316 wait until page does not contain element ${popup_last_locator} 30s Current popup was not hidden
317 317
318 submit form and check result 318 submit form and check result
319 - [Arguments] ${submit_btn_locator} ${wait_msg}=${None} ${wait_element_locator}=${None} ${sign_is}=${None} 319 + [Arguments] ${submit_btn_locator} ${wait_msg}=${None} ${wait_element_locator}=${None} ${sign_is}=${None} ${plan_is}=${None}
320 [Documentation] сабмітить форму і чекає повідомлення (якщо задано) + елемент (якщо задано) 320 [Documentation] сабмітить форму і чекає повідомлення (якщо задано) + елемент (якщо задано)
321 321
322 click visible element ${submit_btn_locator} 322 click visible element ${submit_btn_locator}
@@ -325,16 +325,32 @@ submit form and check result @@ -325,16 +325,32 @@ submit form and check result
325 Capture Page Screenshot 325 Capture Page Screenshot
326 run keyword and ignore error execute javascript ${tender_cpv_js_submit_btn_locator} 326 run keyword and ignore error execute javascript ${tender_cpv_js_submit_btn_locator}
327 Capture Page Screenshot 327 Capture Page Screenshot
  328 +# Ви не зазначили спосіб підтвердження для деяких вимог
  329 + run keyword and ignore error run keyword if condition is not none ${wait_msg} wait until element is visible Ви не зазначили спосіб підтвердження для деяких вимог 5
  330 +# run keyword and ignore error Wait Until Page Contains ${tender_cpv_form_submit_success_msg} 60
  331 + Capture Page Screenshot
  332 + run keyword and ignore error execute javascript ${tender_cpv_js_submit_btn_locator}
  333 + Capture Page Screenshot
  334 +
328 run keyword and ignore error run keyword if '${mode}' in 'reporting' close sync alert ${tender_form_submit_reporting_success_msg} 335 run keyword and ignore error run keyword if '${mode}' in 'reporting' close sync alert ${tender_form_submit_reporting_success_msg}
329 - run keyword and ignore error run keyword if condition is not none ${wait_msg} Wait Until Page Contains ${wait_msg} 60  
330 - run keyword and ignore error run keyword if condition is not none ${wait_msg} wait until alert is visible ${wait_msg}  
331 - run keyword and ignore error run keyword if condition is not none ${wait_msg} close current visible alert 336 + Capture Page Screenshot
  337 +### run keyword and ignore error run keyword if condition is not none ${wait_msg} Wait Until Page Contains ${wait_msg} 60
  338 +### Capture Page Screenshot
  339 +### run keyword and ignore error run keyword if condition is not none ${wait_msg} wait until alert is visible ${wait_msg}
  340 +### run keyword and ignore error run keyword if condition is not none ${wait_msg} close current visible alert
  341 +### Capture Page Screenshot
  342 + run keyword and ignore error run keyword if ${plan_is} wait until alert is visible ${wait_msg}
  343 + run keyword and ignore error run keyword if ${plan_is} close current visible alert
  344 + Capture Page Screenshot
  345 +
  346 +### run keyword and ignore error Load Sign
332 347
333 #cat проба 348 #cat проба
334 run keyword and ignore error run keyword if not ${sign_is} Load Sign 349 run keyword and ignore error run keyword if not ${sign_is} Load Sign
  350 + Capture Page Screenshot
335 run keyword and ignore error close current visible alert 351 run keyword and ignore error close current visible alert
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 - 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 352 +### run keyword and ignore error run keyword if condition is not none ${wait_element_locator} wait until element is visible ${wait_element_locator} 60
  353 +### 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
338 354
339 close sync alert 355 close sync alert
340 [Arguments] ${wait_msg}=${None} 356 [Arguments] ${wait_msg}=${None}
@@ -170,7 +170,7 @@ fill budgetbreakdowns form in opened popup @@ -170,7 +170,7 @@ fill budgetbreakdowns form in opened popup
170 save plan form and wait synchronization 170 save plan form and wait synchronization
171 [Documentation] натискає кнопку "Зберегти" і чекає синхронізації плану 171 [Documentation] натискає кнопку "Зберегти" і чекає синхронізації плану
172 172
173 - submit form and check result ${plan_form_submit_btn_locator} ${plan_form_submit_success_msg} ${plan_created_checker_element_locator} 173 + submit form and check result ${plan_form_submit_btn_locator} ${plan_form_submit_success_msg} ${plan_created_checker_element_locator} ${false} ${true}
174 wait until page does not contain element with reloading ${plan_sync_element_locator} 174 wait until page does not contain element with reloading ${plan_sync_element_locator}
175 175
176 delete plan 176 delete plan
@@ -574,7 +574,8 @@ open tender search form @@ -574,7 +574,8 @@ open tender search form
574 save tender form and wait synchronization 574 save tender form and wait synchronization
575 [Documentation] натискає кнопку "Зберегти" і чекає синхронізації тендеру 575 [Documentation] натискає кнопку "Зберегти" і чекає синхронізації тендеру
576 576
577 - submit form and check result ${tender_form_submit_btn_locator} ${tender_form_submit_success_msg} ${tender_created_checker_element_locator} ${true} 577 +### submit form and check result ${tender_form_submit_btn_locator} ${tender_form_submit_success_msg} ${tender_created_checker_element_locator} ${true}
  578 + submit form and check result ${tender_form_submit_btn_locator} ${tender_form_submit_success_msg} ${tender_created_checker_element_locator} ${false}
578 wait until page does not contain element with reloading ${tender_sync_element_locator} 579 wait until page does not contain element with reloading ${tender_sync_element_locator}
579 580
580 add document in tender 581 add document in tender
Please register or login to post a comment