Commit 73ef159973de290dcb48abc7dc4a38d725fdddff
1 parent
fe84f2c2
Change the status of the complaint mistaken
Showing
2 changed files
with
11 additions
and
1 deletions
... | ... | @@ -324,8 +324,15 @@ Change the status of the complaint |
324 | 324 | capture page screenshot |
325 | 325 | wait until page contains element with reloading ${claim_open_form_answer_locator} |
326 | 326 | capture page screenshot |
327 | - Run Keyword If '${confirmation_data.data.status}' == 'mistaken' | |
327 | + Run Keyword If '${confirmation_data.data.status}' == 'mistaken' Run keywords | |
328 | 328 | ... Execute Javascript $('#tender-complaint-list a[href*="/tender-complaint/complaint-cancel"]').click() |
329 | + ... capture page screenshot | |
330 | + ... wait until element is visible ${select_complaint_submit_success_msg} 5 | |
331 | + ... capture page screenshot | |
332 | + ... wait until alert is visible ${select_complaint_success_btn_locator} | |
333 | + ... capture page screenshot | |
334 | + ... close current visible alert | |
335 | + ... capture page screenshot | |
329 | 336 | Run Keyword If '${confirmation_data.data.status}' == 'resolved' Run keywords |
330 | 337 | ... ${claim_form_open_form_change_status_btn_locator} = replace string ${claim_form_open_form_change_status_btn_locator_tpl} %title% ${complaintID} |
331 | 338 | ... capture page screenshot | ... | ... |
... | ... | @@ -59,3 +59,6 @@ ${claim_form_change_status_resolution_value_locator} = jquery=#comp |
59 | 59 | ${claim_form_change_status_submit_success_msg} = Підтведження вирішення скарги успішно надане. |
60 | 60 | ${claim_form_change_status_success_btn_locator} = jquery=#complaint-resolve-form .js-submit-btn |
61 | 61 | |
62 | +${select_complaint_submit_success_msg} = Ви дійсно бажаєте скасувати обрану скаргу? | |
63 | +${select_complaint_success_btn_locator} = jquery=.animated-content button.js-btn-confirm | |
64 | +${select_complaint_submit2_success_msg} = Скарга успішно скасована. | ... | ... |
Please
register
or
login
to post a comment