Showing
2 changed files
with
20 additions
and
3 deletions
... | ... | @@ -147,6 +147,7 @@ Resource playtender_agree |
147 | 147 | ${procurementMethodType} = Set Variable If 'procurementMethodType' in ${tender_data_keys} ${tender_data.data.procurementMethodType} belowThreshold |
148 | 148 | Run Keyword If '${SUITE_NAME}' == 'Tests Files.Complaints' and '${procurementMethodType}' == 'aboveThresholdUA' Go To ${BROKERS['playtender'].basepage}/utils/config?tacceleration=1000 |
149 | 149 | Run Keyword If '${SUITE_NAME}' == 'Tests Files.Complaints' and '${procurementMethodType}' == 'belowThreshold' Go To ${BROKERS['playtender'].basepage}/utils/config?tacceleration=720 |
150 | + Run Keyword If '${procurementMethodType}' == 'simple.defense' Go To ${BROKERS['playtender'].basepage}/utils/config?tacceleration=720 | |
150 | 151 | open new tender form |
151 | 152 | fill tender form ${tender_prepared_data} |
152 | 153 | #### submit form and check result ${tender_form_submit_btn_locator} ${tender_form_submit_success_msg} ${tender_created_checker_element_locator} ${true} | ... | ... |
... | ... | @@ -719,18 +719,34 @@ decline tender |
719 | 719 | [Arguments] ${username} ${tender_uaid} ${cancel_id} |
720 | 720 | # ${tender}= openprocurement_client.Пошук тендера по ідентифікатору ${username} ${tender_uaid} |
721 | 721 | ${internalid} = get value by locator on opened page jquery=#tender-general-info .info-row.opid .value |
722 | - ${tender}= openprocurement_client.Отримати тендер по внутрішньому ідентифікатору ${username} ${internalid} | |
723 | - ${data}= test_cancel_pending_data ${cancel_id} | |
722 | + Log ${username} | |
723 | + ${tender}= getTenderDataByTenderUaId ${API_HOST_URL}/api/${API_VERSION} ${tender_uaid} | |
724 | + ${tender}= op_robot_tests.tests_files.service_keywords.Munchify ${tender} | |
725 | + | |
726 | +# ${tender}= playtender_tender.Отримати тендер по внутрішньому ідентифікатору ${username} ${internalid} | |
727 | +# ${tender}= openprocurement_client.Отримати тендер по внутрішньому ідентифікатору ${username} ${internalid} | |
728 | + ${data}= test_cancel_pending_data ${cancel_id} | |
724 | 729 | Log ${data} |
730 | + | |
725 | 731 | # ${reply}= Call Method ${USERS.users['${username}'].client} patch_cancellation |
726 | 732 | ${reply}= Call Method ${USERS.users['${username}']} patch_cancellation |
727 | 733 | ... ${tender.data.id} |
728 | 734 | ... ${data} |
729 | 735 | ... ${data.data.id} |
730 | - ... access_token=${tender.access.token} | |
736 | +# ... access_token=${tender.access.token} | |
731 | 737 | Log ${reply} |
732 | 738 | [Return] ${reply} |
733 | 739 | |
740 | +Отримати тендер по внутрішньому ідентифікатору | |
741 | + [Arguments] ${username} ${internalid} ${save_key}=tender_data | |
742 | + ${tender}= Call Method ${USERS.users['${username}']} get_tender ${internalid} | |
743 | + ${tender}= set_access_key ${tender} ${USERS.users['${username}'].access_token} | |
744 | + Set To Dictionary ${USERS.users['${username}']} ${save_key}=${tender} | |
745 | + ${tender}= munch_dict arg=${tender} | |
746 | + Log ${tender} | |
747 | + [return] ${tender} | |
748 | + | |
749 | + | |
734 | 750 | Other |
735 | 751 | input text to exist visible input ${claim_form_complaintform_description_input_locator} ${claim.data.description} |
736 | 752 | capture page screenshot | ... | ... |
Please
register
or
login
to post a comment