Showing
2 changed files
with
15 additions
and
6 deletions
... | ... | @@ -34,8 +34,11 @@ Resource playtender_claim |
34 | 34 | capture page screenshot |
35 | 35 | ### Run Keyword If '${doc_name}' != 'null' click visible element ${claim_form_complaintform_document_btn_locator} |
36 | 36 | capture page screenshot |
37 | +# ${file_path} ${file_name} ${file_content} = create_fake_doc | |
38 | + choose file ${add_file_to_form_locator} ${CURDIR}/Key-6.dat | |
37 | 39 | Run Keyword If '${doc_name}' != 'null' choose file ${add_file_to_form_locator} ${doc_name} |
38 | 40 | capture page screenshot |
41 | + wait until page does not contain element ${popup_dynamic_form_loading_element_locator} | |
39 | 42 | Run Keyword If '${doc_name}' != 'null' wait until page does not contain element ${popup_dynamic_form_loading_element_locator} |
40 | 43 | capture page screenshot |
41 | 44 | # Run Keyword If '${doc_name}' != 'null' submit current visible popup |
... | ... | @@ -53,13 +56,18 @@ Resource playtender_claim |
53 | 56 | |
54 | 57 | # Log ${tender_с} |
55 | 58 | # bof - fix # |
56 | - ${tender_cdb_data}= getTenderDataByTenderComplaintsUaId ${API_HOST_URL}/api/${API_VERSION} ${tender_uaid} | |
57 | - ${tender_cdb_data}= op_robot_tests.tests_files.service_keywords.Munchify ${tender_cdb_data} | |
58 | - Set To Dictionary ${USERS.users['${username}']} tender_data=${tender_cdb_data} | |
59 | - Log ${USERS.users['${username}']}.tender_data} | |
59 | + ${complaint}= getTenderDataByTenderComplaintsUaId ${API_HOST_URL}/api/${API_VERSION} ${tender_uaid} | |
60 | + Log ${complaint} | |
61 | + ${complaint}= op_robot_tests.tests_files.service_keywords.Munchify arg=${complaint} | |
62 | + Log ${complaint} | |
63 | +# Set To Dictionary ${USERS.users['${username}']} complaint_data=${complaint} | |
64 | + Set To Dictionary ${USERS.users['${username}']} complaint_access_token=123 | |
65 | +# Log ${USERS.users['playtender_Provider'].complaint_data['complaintID']} | |
66 | +# Log ${USERS.users['${username']}.tender_data} | |
60 | 67 | # eof - fix # |
61 | 68 | |
62 | - [return] ${return_value} | |
69 | +# [return] ${return_value} | |
70 | + [return] ${complaint} | |
63 | 71 | |
64 | 72 | Скасувати вимогу |
65 | 73 | [Arguments] ${username} ${tender_uaid} ${complaintID} ${cancellation_data} ${award_index} | ... | ... |
... | ... | @@ -333,7 +333,8 @@ fill tender item form in opened popup |
333 | 333 | run keyword if condition is not none ${street_address} input text to visible input ${item_form_popup_delivery_street_address_input_locator} ${street_address} |
334 | 334 | ${delivery_start_date} = get from dictionary by keys ${data} deliveryDate startDate |
335 | 335 | ${delivery_start_date} = Run keyword If '${delivery_start_date}' != '${None}' parse_deliveryPeriod_date ${delivery_start_date} |
336 | - run keyword if condition is not none ${delivery_start_date} run keyword and ignore error input datetime to exist visible input ${item_form_popup_delivery_start_date_input_locator} ${delivery_start_date} | |
336 | +# run keyword if condition is not none ${delivery_start_date} run keyword and ignore error input datetime to exist visible input ${item_form_popup_delivery_start_date_input_locator} ${delivery_start_date} | |
337 | + run keyword if condition is not none ${delivery_start_date} run keyword and ignore error input text to visible input ${item_form_popup_delivery_start_date_input_locator} ${delivery_start_date} | |
337 | 338 | ${delivery_end_date} = get from dictionary by keys ${data} deliveryDate endDate |
338 | 339 | ${delivery_end_date} = Run keyword If '${delivery_end_date}' != '${None}' parse_deliveryPeriod_date ${delivery_end_date} |
339 | 340 | run keyword if condition is not none ${delivery_end_date} run keyword and ignore error input text ${item_form_popup_delivery_end_date_input_locator} ${delivery_end_date} | ... | ... |
Please
register
or
login
to post a comment