Commit 6552c322267c64c09ec2149620d26a48b954d197

Authored by Playtenders
1 parent b6d27351

capture page screenshot for testing

... ... @@ -612,7 +612,7 @@ Resource playtender_contr
612 612
613 613 open tender page by uaid ${tender_uaid}
614 614 fill bid form ${tender_uaid} ${bid} ${lots_ids} ${features_ids}
615   - submit form and check result ${bid_form_submit_btn_locator} ${bid_form_submit_success_msg} ${tender_created_checker_element_locator}
  615 + submit form and check result ${bid_form_submit_btn_locator} ${bid_form_submit_success_msg} ${tender_created_checker_element_locator} ${true}
616 616 wait until page does not contain element with reloading ${tender_sync_element_locator}
617 617
618 618 Змінити цінову пропозицію
... ... @@ -623,7 +623,7 @@ Resource playtender_contr
623 623 open tender page by uaid ${tender_uaid}
624 624 fill bid form edit ${fieldname} ${fieldvalue}
625 625 capture page screenshot
626   - submit form and check result ${bid_form_submit_btn_locator} ${bid_form_submit_edit_success_msg} ${tender_created_checker_element_locator}
  626 + submit form and check result ${bid_form_submit_btn_locator} ${bid_form_submit_edit_success_msg} ${tender_created_checker_element_locator} ${true}
627 627 wait until page does not contain element with reloading ${tender_sync_element_locator}
628 628
629 629 Скасувати цінову пропозицію
... ... @@ -633,7 +633,7 @@ Resource playtender_contr
633 633
634 634 open tender page by uaid ${tender_uaid}
635 635 fill bid form remove
636   - submit form and check result ${bid_form_submit_btn_locator} ${bid_form_submit_edit_success_msg} ${tender_created_checker_element_locator}
  636 + submit form and check result ${bid_form_submit_btn_locator} ${bid_form_submit_edit_success_msg} ${tender_created_checker_element_locator} ${true}
637 637 wait until page does not contain element with reloading ${tender_sync_element_locator}
638 638
639 639 Завантажити документ в ставку
... ... @@ -644,7 +644,7 @@ Resource playtender_contr
644 644 open tender page by uaid ${tender_uaid}
645 645 add document to bid ${path} ${doc_type} ${doc_name}
646 646 capture page screenshot
647   - submit form and check result ${bid_form_submit_btn_locator} ${bid_form_submit_edit_success_msg} ${tender_created_checker_element_locator}
  647 + submit form and check result ${bid_form_submit_btn_locator} ${bid_form_submit_edit_success_msg} ${tender_created_checker_element_locator} ${true}
648 648 wait until page does not contain element with reloading ${tender_sync_element_locator}
649 649
650 650 Змінити документ в ставці
... ... @@ -655,7 +655,7 @@ Resource playtender_contr
655 655 open tender page by uaid ${tender_uaid}
656 656 document to bid edit ${path} ${doc_id}
657 657 capture page screenshot
658   - submit form and check result ${bid_form_submit_btn_locator} ${bid_form_submit_edit_success_msg} ${tender_created_checker_element_locator}
  658 + submit form and check result ${bid_form_submit_btn_locator} ${bid_form_submit_edit_success_msg} ${tender_created_checker_element_locator} ${true}
659 659 wait until page does not contain element with reloading ${tender_sync_element_locator}
660 660
661 661 Змінити документацію в ставці
... ... @@ -666,7 +666,7 @@ Resource playtender_contr
666 666 open tender page by uaid ${tender_uaid}
667 667 fill bid form edit document ${doc_data} ${doc_id}
668 668 capture page screenshot
669   - submit form and check result ${bid_form_submit_btn_locator} ${bid_form_submit_edit_success_msg} ${tender_created_checker_element_locator}
  669 + submit form and check result ${bid_form_submit_btn_locator} ${bid_form_submit_edit_success_msg} ${tender_created_checker_element_locator} ${true}
670 670 wait until page does not contain element with reloading ${tender_sync_element_locator}
671 671
672 672 Отримати інформацію із пропозиції
... ...
... ... @@ -236,5 +236,5 @@ fill bid form remove
236 236 ... користувача username на cancelled.
237 237
238 238 click visible element ${bid_form_remove_btn_locator}
239   - submit form and check result ${alert_opened_close_bid_btn_locator} ${bid_form_submit_remove_success_msg} ${tender_created_checker_element_locator}
  239 + submit form and check result ${alert_opened_close_bid_btn_locator} ${bid_form_submit_remove_success_msg} ${tender_created_checker_element_locator} ${true}
240 240
... ...
... ... @@ -384,6 +384,7 @@ wait until page contains search
384 384
385 385 ${result} = get is element exist ${locator}
386 386 run keyword if ${result} == ${False} wait until keyword succeeds ${retry} ${retry_interval} reload page and fail if element does not exist on search ${locator}
  387 + capture page screenshot
387 388
388 389 wait until page contains element with reloading
389 390 [Arguments] ${locator} ${retry}=5m ${retry_interval}=2s
... ...
... ... @@ -26,7 +26,7 @@ add question
26 26 Run Keyword If '${type}' == 'item' run keyword and ignore error Click Element ${question_questionform_related_item_input_locator}
27 27 input text to exist visible input ${question_form_create_questionform_title_input_locator} ${question.data.title}
28 28 input text to exist visible input ${question_form_create_questionform_description_input_locator} ${question.data.description}
29   - submit form and check result ${question_form_answer_submit_btn_locator} ${question_form_submit_success_msg} ${tender_created_checker_element_locator}
  29 + submit form and check result ${question_form_answer_submit_btn_locator} ${question_form_submit_success_msg} ${tender_created_checker_element_locator} ${true}
30 30 # click visible element ${question_form_answer_submit_btn_locator}
31 31 wait until page does not contain element with reloading ${tender_sync_element_locator}
32 32 sleep 5
... ... @@ -42,7 +42,7 @@ answer question
42 42 wait until page contains element with reloading ${question_form_open_form_answer_btn_locator}
43 43 open popup by btn locator ${question_form_open_form_answer_btn_locator}
44 44 input text to exist visible input ${question_answer_form_answer_input_locator} ${answer_data.data.answer}
45   - submit form and check result ${question_answer_form_submit_btn_locator} ${question_form_submit_answer_success_msg}
  45 + submit form and check result ${question_answer_form_submit_btn_locator} ${question_form_submit_answer_success_msg} ${true}
46 46
47 47 get question information
48 48 [Arguments] ${question_id} ${field_name}
... ...
Please register or login to post a comment