Showing
1 changed file
with
3 additions
and
4 deletions
... | ... | @@ -10,7 +10,7 @@ add question |
10 | 10 | [Documentation] Створити запитання з question в описі для тендера tender_uaid. |
11 | 11 | |
12 | 12 | click visible element ${question_form_open_btn_locator} |
13 | - click visible element ${question_form_open_create_btn_locator} | |
13 | + open popup by btn locator ${question_form_open_create_btn_locator} | |
14 | 14 | Wait Until Page Contains ${popup_opened_content_success_locator} 60 |
15 | 15 | wait until element is visible ${question_form_create_questionform_title_input_locator} 60 |
16 | 16 | wait until popup is visible |
... | ... | @@ -38,9 +38,8 @@ answer question |
38 | 38 | ${question_open_form_answer_locator} = replace string ${question_open_form_answer_btn_locator_tpl} %title% ${question_id} |
39 | 39 | wait until page contains element with reloading ${question_open_form_answer_locator} |
40 | 40 | ${question_form_open_form_answer_btn_locator} = replace string ${question_form_open_form_answer_btn_locator_tpl} %title% ${question_id} |
41 | - click visible element ${question_form_open_form_answer_btn_locator} | |
42 | - Wait Until Page Contains ${popup_opened_content_success_locator} 60 | |
43 | - wait until element is visible ${question_form_open_form_answer_input_locator} 60 | |
41 | + open popup by btn locator ${question_form_open_form_answer_btn_locator} | |
42 | + wait until popup is visible | |
44 | 43 | input text to exist visible input ${question_form_open_form_answer_input_locator} ${answer_data.data.answer} |
45 | 44 | submit form and check result ${question_form_answer_submit_btn_locator} ${question_form_submit_answer_success_msg} ${tender_created_checker_element_locator} |
46 | 45 | ... | ... |
Please
register
or
login
to post a comment