Commit 947222becb825329f51ca56f2bd5678f9b24c743
Committed by
GitHub
Merge pull request #1002 from ivanka12/master
update for closeFrameworkAgreementUA
Showing
4 changed files
with
45 additions
and
4 deletions
... | ... | @@ -205,13 +205,23 @@ Suite Teardown Test Suite Teardown |
205 | 205 | Звірити відображення поля contracts[${contract_index}].status тендера із active для користувача ${viewer} |
206 | 206 | |
207 | 207 | |
208 | +Неможливість підтвердити постачальника після закінчення періоду кваліфікації | |
209 | + [Tags] ${USERS.users['${tender_owner}'].broker}: Процес кваліфікації | |
210 | + ... tender_owner | |
211 | + ... ${USERS.users['${tender_owner}'].broker} | |
212 | + ... awarding_approve_first_award | |
213 | + ... critical | |
214 | + [Setup] Дочекатись дати закінчення періоду кваліфікації ${tender_owner} ${TENDER['TENDER_UAID']} | |
215 | + Run keyword and expect error * Run As ${tender_owner} Підтвердити постачальника ${TENDER['TENDER_UAID']} 0 | |
216 | + | |
217 | + | |
208 | 218 | Можливість встановити ціну за одиницю для першого контракту |
209 | 219 | [Tags] ${USERS.users['${tender_owner}'].broker}: Редагування угоди |
210 | 220 | ... tender_owner |
211 | 221 | ... ${USERS.users['${tender_owner}'].broker} |
212 | 222 | ... modify_agreement |
213 | 223 | ... critical |
214 | - [Setup] Дочекатись дати закінчення періоду кваліфікації ${tender_owner} ${TENDER['TENDER_UAID']} | |
224 | + [Setup] Дочекатись синхронізації з майданчиком ${tender_owner} | |
215 | 225 | [Teardown] Оновити LAST_MODIFICATION_DATE |
216 | 226 | ${contract_data}= Розрахувати ціну для 0 контракту |
217 | 227 | Run As ${tender_owner} Встановити ціну за одиницю для контракту ${TENDER['TENDER_UAID']} ${contract_data} | ... | ... |
... | ... | @@ -48,6 +48,9 @@ Default: |
48 | 48 | accelerator: 1440 |
49 | 49 | enquiry: [0, 15] |
50 | 50 | tender: [0, 30] |
51 | + open_framework: | |
52 | + accelerator: 1440 | |
53 | + tender: [0, 30] | |
51 | 54 | # Synchronization delay, in seconds |
52 | 55 | timeout_on_wait: 300 |
53 | 56 | Quinta: |
... | ... | @@ -68,6 +71,9 @@ Quinta: |
68 | 71 | accelerator: 1440 |
69 | 72 | enquiry: [0, 15] |
70 | 73 | tender: [0, 30] |
74 | + open_framework: | |
75 | + accelerator: 1440 | |
76 | + tender: [0, 30] | |
71 | 77 | keywords_file: openprocurement_client |
72 | 78 | roles: |
73 | 79 | provider: Tender_User | ... | ... |
... | ... | @@ -113,6 +113,15 @@ def create_fake_doc(): |
113 | 113 | return tf.name.replace('\\', '\\\\'), os.path.basename(tf.name), content |
114 | 114 | |
115 | 115 | |
116 | +def create_fake_IsoDurationType( | |
117 | + years=0, months=0, days=0, | |
118 | + hours=0, minutes=0, seconds=0): | |
119 | + return u"P{}Y{}M{}DT{}H{}M{}S".format( | |
120 | + years, months, days, | |
121 | + hours, minutes, seconds | |
122 | + ) | |
123 | + | |
124 | + | |
116 | 125 | def test_tender_data(params, |
117 | 126 | periods=("enquiry", "tender"), |
118 | 127 | submissionMethodDetails=None, |
... | ... | @@ -595,7 +604,14 @@ def test_tender_data_framework_agreement(params, submissionMethodDetails): |
595 | 604 | data = test_tender_data_openeu(params, submissionMethodDetails) |
596 | 605 | data['procurementMethodType'] = 'closeFrameworkAgreementUA' |
597 | 606 | data['maxAwardsCount'] = fake.random_int(min=3, max=5) |
598 | - data['agreementDuration'] = 'P1M' | |
607 | + data['agreementDuration'] = create_fake_IsoDurationType( | |
608 | + years=fake.random_int(min=1, max=3), | |
609 | + months=fake.random_int(min=1, max=8), | |
610 | + days=fake.random_int(min=1, max=6), | |
611 | + hours=fake.random_int(min=1, max=20), | |
612 | + minutes=fake.random_int(min=1, max=50), | |
613 | + seconds=fake.random_int(min=1, max=60) | |
614 | + ) | |
599 | 615 | return data |
600 | 616 | |
601 | 617 | ... | ... |
... | ... | @@ -3,8 +3,8 @@ |
3 | 3 | -v NUMBER_OF_ITEMS:1 |
4 | 4 | -v NUMBER_OF_LOTS:1 |
5 | 5 | |
6 | --v TENDER_MEAT:False | |
7 | --v ITEM_MEAT:False | |
6 | +-v TENDER_MEAT:True | |
7 | +-v ITEM_MEAT:True | |
8 | 8 | -v LOT_MEAT:False |
9 | 9 | |
10 | 10 | |
... | ... | @@ -16,6 +16,12 @@ |
16 | 16 | -i tender_view_coordinates |
17 | 17 | -i tender_view_framework |
18 | 18 | -i lot_view |
19 | +-i meat_view | |
20 | + | |
21 | +-i add_item | |
22 | + -i delete_item | |
23 | +-i add_tender_meat | |
24 | + -i delete_tender_meat | |
19 | 25 | |
20 | 26 | -i extend_tendering_period |
21 | 27 | -i add_tender_doc |
... | ... | @@ -63,6 +69,8 @@ |
63 | 69 | -i pre-qualification_add_doc_to_first_bid |
64 | 70 | -i pre-qualification_approve_first_bid |
65 | 71 | -i pre-qualification_add_doc_to_second_bid |
72 | +-i pre-qualification_reject_second_bid | |
73 | +-i pre-qualification_cancel_second_bid_qualification | |
66 | 74 | -i pre-qualification_approve_second_bid |
67 | 75 | -i pre-qualification_approve_third_bid |
68 | 76 | -i pre-qualification_approve_qualifications |
... | ... | @@ -82,5 +90,6 @@ |
82 | 90 | |
83 | 91 | |
84 | 92 | -i contract_stand_still |
93 | +-i awarding_approve_first_award | |
85 | 94 | -i modify_agreement |
86 | 95 | -i agreement_registration |
\ No newline at end of file | ... | ... |
Please
register
or
login
to post a comment