Commit 3d440d4e7d552d9dd962b0b6edea3fcdceef0625

Authored by kosaniak
Committed by GitHub
2 parents ab151612 d1e880e1

Merge pull request #561 from OrysiaDrabych/dialogue

Update Competitive Dialogue procedure
@@ -967,6 +967,7 @@ Resource resource.robot @@ -967,6 +967,7 @@ Resource resource.robot
967 ... ELSE Set Variable ${None} 967 ... ELSE Set Variable ${None}
968 Run As ${username} Подати цінову пропозицію ${TENDER['TENDER_UAID']} ${bid} ${lots_ids} ${features_ids} 968 Run As ${username} Подати цінову пропозицію ${TENDER['TENDER_UAID']} ${bid} ${lots_ids} ${features_ids}
969 969
  970 +
970 Неможливість подати цінову пропозицію без прив’язки до лоту користувачем ${username} 971 Неможливість подати цінову пропозицію без прив’язки до лоту користувачем ${username}
971 ${bid}= Підготувати дані для подання пропозиції 972 ${bid}= Підготувати дані для подання пропозиції
972 ${values}= Get Variable Value ${bid.data.lotValues[0]} 973 ${values}= Get Variable Value ${bid.data.lotValues[0]}
@@ -744,7 +744,10 @@ Library openprocurement_client.utils @@ -744,7 +744,10 @@ Library openprocurement_client.utils
744 \ Set To Dictionary ${bid.data.parameters[${index}]} code=${code} 744 \ Set To Dictionary ${bid.data.parameters[${index}]} code=${code}
745 ${reply}= Call Method ${USERS.users['${username}'].client} create_bid ${tender} ${bid} 745 ${reply}= Call Method ${USERS.users['${username}'].client} create_bid ${tender} ${bid}
746 Log ${reply} 746 Log ${reply}
747 - ${status}= Set Variable If '${MODE}'=='openeu' pending active 747 + Set To Dictionary ${USERS.users['${username}']} bid_access_token=${reply.access.token}
  748 + ${tender}= set_access_key ${tender} ${USERS.users['${username}'].bid_access_token}
  749 + ${procurementMethodType}= Get variable value ${USERS.users['${username}'].tender_data.data.procurementMethodType}
  750 + ${status}= Set Variable If 'EU' in '${procurementMethodType}' or '${procurementMethodType}'=='competitiveDialogueUA' pending active
748 Set To Dictionary ${reply['data']} status=${status} 751 Set To Dictionary ${reply['data']} status=${status}
749 ${reply_active}= Call Method ${USERS.users['${username}'].client} patch_bid ${tender} ${reply} 752 ${reply_active}= Call Method ${USERS.users['${username}'].client} patch_bid ${tender} ${reply}
750 Set To Dictionary ${USERS.users['${username}']} access_token=${reply['access']['token']} 753 Set To Dictionary ${USERS.users['${username}']} access_token=${reply['access']['token']}
@@ -266,7 +266,7 @@ Get Broker Property By Username @@ -266,7 +266,7 @@ Get Broker Property By Username
266 266
267 Підготувати дані для подання пропозиції для другого етапу 267 Підготувати дані для подання пропозиції для другого етапу
268 [Arguments] ${index}=0 268 [Arguments] ${index}=0
269 - ${bid}= generate_test_bid_data_second_stage ${USERS.users['${tender_owner}'].initialdata.data} ${index} 269 + ${bid}= generate_test_bid_data_second_stage ${USERS.users['${tender_owner}'].tender_data.data} ${index}
270 [Return] ${bid} 270 [Return] ${bid}
271 271
272 272
@@ -1364,7 +1364,7 @@ ${ITEM_MEAT} ${True} @@ -1364,7 +1364,7 @@ ${ITEM_MEAT} ${True}
1364 [Tags] ${USERS.users['${provider}'].broker}: Подання пропозиції 1364 [Tags] ${USERS.users['${provider}'].broker}: Подання пропозиції
1365 ... provider 1365 ... provider
1366 ... ${USERS.users['${provider}'].broker} 1366 ... ${USERS.users['${provider}'].broker}
1367 - ... modify_bid_by_provider 1367 + ... add_doc_to_bid_by_provider
1368 ... critical 1368 ... critical
1369 [Teardown] Оновити LAST_MODIFICATION_DATE 1369 [Teardown] Оновити LAST_MODIFICATION_DATE
1370 Можливість завантажити документ в пропозицію користувачем ${provider} 1370 Можливість завантажити документ в пропозицію користувачем ${provider}
@@ -533,8 +533,8 @@ def generate_test_bid_data_second_stage(tender_data, index='0'): @@ -533,8 +533,8 @@ def generate_test_bid_data_second_stage(tender_data, index='0'):
533 bid['data']['tenderers'][0]['identifier']['id'] = tender_data['shortlistedFirms'][index]['identifier']['id'] 533 bid['data']['tenderers'][0]['identifier']['id'] = tender_data['shortlistedFirms'][index]['identifier']['id']
534 bid['data']['tenderers'][0]['identifier']['scheme'] = tender_data['shortlistedFirms'][index]['identifier']['scheme'] 534 bid['data']['tenderers'][0]['identifier']['scheme'] = tender_data['shortlistedFirms'][index]['identifier']['scheme']
535 bid['data']['tenderers'][0]['identifier']['legalName'] = tender_data['shortlistedFirms'][index]['identifier']['legalName'] 535 bid['data']['tenderers'][0]['identifier']['legalName'] = tender_data['shortlistedFirms'][index]['identifier']['legalName']
536 -  
537 - if tender_data.get('procurementMethodType', '')[:-2] in ('aboveThreshold', 'competitiveDialogue'): 536 + bid['data']['tenderers'][0]['name'] = tender_data['shortlistedFirms'][index]['name']
  537 + if tender_data.get('procurementMethodType', '') in ('competitiveDialogueEU.stage2', 'competitiveDialogueUA.stage2'):
538 bid.data.selfEligible = True 538 bid.data.selfEligible = True
539 bid.data.selfQualified = True 539 bid.data.selfQualified = True
540 if 'lots' in tender_data: 540 if 'lots' in tender_data:
@@ -52,7 +52,6 @@ @@ -52,7 +52,6 @@
52 52
53 -i make_bid_without_related_lot 53 -i make_bid_without_related_lot
54 -i make_bid_by_provider 54 -i make_bid_by_provider
55 - -i modify_bid_by_provider  
56 -i add_doc_to_bid_by_provider 55 -i add_doc_to_bid_by_provider
57 -i make_bid_by_provider1 56 -i make_bid_by_provider1
58 -i make_bid_by_provider2 57 -i make_bid_by_provider2
  1 +-v MODE:open_competitive_dialogue
  2 +
  3 +-v DIALOGUE_TYPE:UA
  4 +
  5 +-v NUMBER_OF_ITEMS:1
  6 +-v NUMBER_OF_LOTS:1
  7 +
  8 +-v TENDER_MEAT:False
  9 +-v ITEM_MEAT:False
  10 +-v LOT_MEAT:False
  11 +
  12 +
  13 +-i create_tender
  14 +-i find_tender
  15 +-i tender_view
  16 +
  17 +-i make_bid_by_provider
  18 +-i make_bid_by_provider1
  19 +-i make_bid_by_provider2
  20 +
  21 +-i open_tender_view
  22 +
  23 +-i pre-qualifications_check_by_edrpou
  24 +
  25 +-i pre-qualification_approve_first_bid
  26 +-i pre-qualification_approve_second_bid
  27 +-i pre-qualification_approve_third_bid
  28 +
  29 +-i pre-qualification_approve_qualifications
  30 +
  31 +-i stage2_pending_status_view
  32 +
  33 +-i wait_bridge_for_work
  34 +
  35 +-i get_second_stage
  36 +
  37 +-i compare_stages
  38 +
  39 +-i save_tender_second_stage
  40 +
  41 +-i activate_second_stage
  42 +
  43 +-i make_bid_by_provider_second_stage
  44 +-i make_bid_by_provider1_second_stage
  45 +
  46 +-i auction
  47 +
  48 +-i qualification_approve_first_award
  49 +
  50 +-i contract_sign
1 --s openProcedure  
2 -  
3 -v MODE:open_competitive_dialogue 1 -v MODE:open_competitive_dialogue
4 2
5 3
Please register or login to post a comment