Commit 9238274d84e87dd5dfa7b6570dd70396ae0c962e

Authored by Playtenders
1 parent 3d705a71

decline tender

Showing 1 changed file with 21 additions and 1 deletions
@@ -707,9 +707,29 @@ decline tender @@ -707,9 +707,29 @@ decline tender
707 capture page screenshot 707 capture page screenshot
708 submit form and check result ${bid_form_refresh_btn_locator} ${bid_form_refresh_success_msg} ${tender_created_checker_element_locator} ${true} 708 submit form and check result ${bid_form_refresh_btn_locator} ${bid_form_refresh_success_msg} ${tender_created_checker_element_locator} ${true}
709 ${cancellation_id} = get value by locator on opened page jquery=.cancellation-without-pseudo-table .cancellation-info-wrapper .info-row.opid .value 709 ${cancellation_id} = get value by locator on opened page jquery=.cancellation-without-pseudo-table .cancellation-info-wrapper .info-row.opid .value
710 - ${cancellation} = openprocurement_client.Перевести скасування закупівлі в період очікування ${username} ${tender_uaid} ${cancellation_id} 710 + ${cancellation} = playtender_tender.Перевести скасування закупівлі в період очікування ${username} ${tender_uaid} ${cancellation_id}
  711 +# ${cancellation} = openprocurement_client.Перевести скасування закупівлі в період очікування ${username} ${tender_uaid} ${cancellation_id}
711 Set To Dictionary ${USERS.users['${tender_owner}']} cancellation_data=${cancellation} 712 Set To Dictionary ${USERS.users['${tender_owner}']} cancellation_data=${cancellation}
712 713
  714 +Перевести скасування закупівлі в період очікування
  715 + [Documentation]
  716 + ... [Arguments] Username, tender uaid, cancellation number
  717 + ... Find tender using uaid, get cancellation test_confirmation data and call patch_cancellation
  718 + ... [Return] Nothing
  719 + [Arguments] ${username} ${tender_uaid} ${cancel_id}
  720 +# ${tender}= openprocurement_client.Пошук тендера по ідентифікатору ${username} ${tender_uaid}
  721 + ${internalid} = get value by locator on opened page jquery=#tender-general-info .info-row.opid .value
  722 + ${tender}= openprocurement_client.Отримати тендер по внутрішньому ідентифікатору ${username} ${internalid} ${tender_data}
  723 + ${data}= test_cancel_pending_data ${cancel_id}
  724 + Log ${data}
  725 + ${reply}= Call Method ${USERS.users['${username}'].client} patch_cancellation
  726 + ... ${tender.data.id}
  727 + ... ${data}
  728 + ... ${data.data.id}
  729 + ... access_token=${tender.access.token}
  730 + Log ${reply}
  731 + [Return] ${reply}
  732 +
713 Other 733 Other
714 input text to exist visible input ${claim_form_complaintform_description_input_locator} ${claim.data.description} 734 input text to exist visible input ${claim_form_complaintform_description_input_locator} ${claim.data.description}
715 capture page screenshot 735 capture page screenshot
Please register or login to post a comment