Commit 6552c322267c64c09ec2149620d26a48b954d197

Authored by Playtenders
1 parent b6d27351

capture page screenshot for testing

@@ -612,7 +612,7 @@ Resource playtender_contr @@ -612,7 +612,7 @@ Resource playtender_contr
612 612
613 open tender page by uaid ${tender_uaid} 613 open tender page by uaid ${tender_uaid}
614 fill bid form ${tender_uaid} ${bid} ${lots_ids} ${features_ids} 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 wait until page does not contain element with reloading ${tender_sync_element_locator} 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,7 +623,7 @@ Resource playtender_contr
623 open tender page by uaid ${tender_uaid} 623 open tender page by uaid ${tender_uaid}
624 fill bid form edit ${fieldname} ${fieldvalue} 624 fill bid form edit ${fieldname} ${fieldvalue}
625 capture page screenshot 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 wait until page does not contain element with reloading ${tender_sync_element_locator} 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,7 +633,7 @@ Resource playtender_contr
633 633
634 open tender page by uaid ${tender_uaid} 634 open tender page by uaid ${tender_uaid}
635 fill bid form remove 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 wait until page does not contain element with reloading ${tender_sync_element_locator} 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,7 +644,7 @@ Resource playtender_contr
644 open tender page by uaid ${tender_uaid} 644 open tender page by uaid ${tender_uaid}
645 add document to bid ${path} ${doc_type} ${doc_name} 645 add document to bid ${path} ${doc_type} ${doc_name}
646 capture page screenshot 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 wait until page does not contain element with reloading ${tender_sync_element_locator} 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,7 +655,7 @@ Resource playtender_contr
655 open tender page by uaid ${tender_uaid} 655 open tender page by uaid ${tender_uaid}
656 document to bid edit ${path} ${doc_id} 656 document to bid edit ${path} ${doc_id}
657 capture page screenshot 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 wait until page does not contain element with reloading ${tender_sync_element_locator} 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,7 +666,7 @@ Resource playtender_contr
666 open tender page by uaid ${tender_uaid} 666 open tender page by uaid ${tender_uaid}
667 fill bid form edit document ${doc_data} ${doc_id} 667 fill bid form edit document ${doc_data} ${doc_id}
668 capture page screenshot 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 wait until page does not contain element with reloading ${tender_sync_element_locator} 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,5 +236,5 @@ fill bid form remove
236 ... користувача username на cancelled. 236 ... користувача username на cancelled.
237 237
238 click visible element ${bid_form_remove_btn_locator} 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,6 +384,7 @@ wait until page contains search
384 384
385 ${result} = get is element exist ${locator} 385 ${result} = get is element exist ${locator}
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} 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 wait until page contains element with reloading 389 wait until page contains element with reloading
389 [Arguments] ${locator} ${retry}=5m ${retry_interval}=2s 390 [Arguments] ${locator} ${retry}=5m ${retry_interval}=2s
@@ -26,7 +26,7 @@ add question @@ -26,7 +26,7 @@ add question
26 Run Keyword If '${type}' == 'item' run keyword and ignore error Click Element ${question_questionform_related_item_input_locator} 26 Run Keyword If '${type}' == 'item' run keyword and ignore error Click Element ${question_questionform_related_item_input_locator}
27 input text to exist visible input ${question_form_create_questionform_title_input_locator} ${question.data.title} 27 input text to exist visible input ${question_form_create_questionform_title_input_locator} ${question.data.title}
28 input text to exist visible input ${question_form_create_questionform_description_input_locator} ${question.data.description} 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 # click visible element ${question_form_answer_submit_btn_locator} 30 # click visible element ${question_form_answer_submit_btn_locator}
31 wait until page does not contain element with reloading ${tender_sync_element_locator} 31 wait until page does not contain element with reloading ${tender_sync_element_locator}
32 sleep 5 32 sleep 5
@@ -42,7 +42,7 @@ answer question @@ -42,7 +42,7 @@ answer question
42 wait until page contains element with reloading ${question_form_open_form_answer_btn_locator} 42 wait until page contains element with reloading ${question_form_open_form_answer_btn_locator}
43 open popup by btn locator ${question_form_open_form_answer_btn_locator} 43 open popup by btn locator ${question_form_open_form_answer_btn_locator}
44 input text to exist visible input ${question_answer_form_answer_input_locator} ${answer_data.data.answer} 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 get question information 47 get question information
48 [Arguments] ${question_id} ${field_name} 48 [Arguments] ${question_id} ${field_name}
Please register or login to post a comment