Commit 77be6879dc46964279270fa8d4218bf5debd9d7e

Authored by Playtenders
1 parent 6c9ff4e7

open_simple_defense

@@ -147,6 +147,7 @@ Resource playtender_agree @@ -147,6 +147,7 @@ Resource playtender_agree
147 ${procurementMethodType} = Set Variable If 'procurementMethodType' in ${tender_data_keys} ${tender_data.data.procurementMethodType} belowThreshold 147 ${procurementMethodType} = Set Variable If 'procurementMethodType' in ${tender_data_keys} ${tender_data.data.procurementMethodType} belowThreshold
148 Run Keyword If '${SUITE_NAME}' == 'Tests Files.Complaints' and '${procurementMethodType}' == 'aboveThresholdUA' Go To ${BROKERS['playtender'].basepage}/utils/config?tacceleration=1000 148 Run Keyword If '${SUITE_NAME}' == 'Tests Files.Complaints' and '${procurementMethodType}' == 'aboveThresholdUA' Go To ${BROKERS['playtender'].basepage}/utils/config?tacceleration=1000
149 Run Keyword If '${SUITE_NAME}' == 'Tests Files.Complaints' and '${procurementMethodType}' == 'belowThreshold' Go To ${BROKERS['playtender'].basepage}/utils/config?tacceleration=720 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 open new tender form 151 open new tender form
151 fill tender form ${tender_prepared_data} 152 fill tender form ${tender_prepared_data}
152 #### submit form and check result ${tender_form_submit_btn_locator} ${tender_form_submit_success_msg} ${tender_created_checker_element_locator} ${true} 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,18 +719,34 @@ decline tender
719 [Arguments] ${username} ${tender_uaid} ${cancel_id} 719 [Arguments] ${username} ${tender_uaid} ${cancel_id}
720 # ${tender}= openprocurement_client.Пошук тендера по ідентифікатору ${username} ${tender_uaid} 720 # ${tender}= openprocurement_client.Пошук тендера по ідентифікатору ${username} ${tender_uaid}
721 ${internalid} = get value by locator on opened page jquery=#tender-general-info .info-row.opid .value 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 Log ${data} 729 Log ${data}
  730 +
725 # ${reply}= Call Method ${USERS.users['${username}'].client} patch_cancellation 731 # ${reply}= Call Method ${USERS.users['${username}'].client} patch_cancellation
726 ${reply}= Call Method ${USERS.users['${username}']} patch_cancellation 732 ${reply}= Call Method ${USERS.users['${username}']} patch_cancellation
727 ... ${tender.data.id} 733 ... ${tender.data.id}
728 ... ${data} 734 ... ${data}
729 ... ${data.data.id} 735 ... ${data.data.id}
730 - ... access_token=${tender.access.token} 736 +# ... access_token=${tender.access.token}
731 Log ${reply} 737 Log ${reply}
732 [Return] ${reply} 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 Other 750 Other
735 input text to exist visible input ${claim_form_complaintform_description_input_locator} ${claim.data.description} 751 input text to exist visible input ${claim_form_complaintform_description_input_locator} ${claim.data.description}
736 capture page screenshot 752 capture page screenshot
Please register or login to post a comment