Commit 6f1af95fd10eb2b558b3f98d1961e1e6bad137ae
1 parent
05e8da10
Fix test when create tender with invalid profile
Showing
10 changed files
with
20 additions
and
17 deletions
... | ... | @@ -226,6 +226,7 @@ ${ERROR_PLAN_MESSAGE}= Calling method 'get_plan' failed: ResourceGone: {"status |
226 | 226 | ${NUMBER_OF_MILESTONES}= Convert To Integer ${NUMBER_OF_MILESTONES} |
227 | 227 | ${WRONG_TENDER_DATE} Get Variable Value ${WRONG_TENDER_DATE} ${False} |
228 | 228 | ${EMPTY_PROFILE} Get Variable Value ${EMPTY_PROFILE} ${False} |
229 | + ${WRONG_PROFILE} Get Variable Value ${PROFILE} ${True} | |
229 | 230 | ${tender_parameters}= Create Dictionary |
230 | 231 | ... mode=${MODE} |
231 | 232 | ... number_of_items=${NUMBER_OF_ITEMS} |
... | ... | @@ -242,6 +243,7 @@ ${ERROR_PLAN_MESSAGE}= Calling method 'get_plan' failed: ResourceGone: {"status |
242 | 243 | ... plan_tender=${${PLAN_TENDER}} |
243 | 244 | ... wrong_tender_date=${${WRONG_TENDER_DATE}} |
244 | 245 | ... empty_profile=${${EMPTY_PROFILE}} |
246 | + ... wrong_profile=${${WRONG_PROFILE}} | |
245 | 247 | ${DIALOGUE_TYPE}= Get Variable Value ${DIALOGUE_TYPE} |
246 | 248 | ${FUNDING_KIND}= Get Variable Value ${FUNDING_KIND} |
247 | 249 | Run keyword if '${DIALOGUE_TYPE}' != '${None}' Set to dictionary ${tender_parameters} dialogue_type=${DIALOGUE_TYPE} | ... | ... |
... | ... | @@ -8158,12 +8158,8 @@ |
8158 | 8158 | "999999-33140000-555666-42000111" |
8159 | 8159 | ], |
8160 | 8160 | "invalid_profile_ids": [ |
8161 | - "195333-32420000-214469-40000777", | |
8162 | - "195333-32420000-214469-40000777", | |
8163 | - "116337-30120000-716781-40000777", | |
8164 | - "955288-33140000-949200-42000777", | |
8165 | - "488351-09130000-741375-40000777", | |
8166 | - "834922-33600000-125367-42000777", | |
8167 | - "966130-32420000-642438-40000777" | |
8161 | + "333222-33140000-555666-42000111", | |
8162 | + "333222-33140000-999888-42000111", | |
8163 | + "999999-33140000-222111-42000111" | |
8168 | 8164 | ] |
8169 | 8165 | } | ... | ... |
... | ... | @@ -111,6 +111,17 @@ ${PLAN_TENDER} ${True} |
111 | 111 | Можливість оголосити тендер |
112 | 112 | |
113 | 113 | |
114 | +Можливість оголосити тендер з некоректним профайлом | |
115 | + [Tags] ${USERS.users['${tender_owner}'].broker}: Оголошення тендера | |
116 | + ... tender_owner | |
117 | + ... ${USERS.users['${tender_owner}'].broker} | |
118 | + ... create_tender_invalid_profile level1 | |
119 | + ... critical | |
120 | + [Teardown] Оновити LAST_MODIFICATION_DATE | |
121 | + Set Test Variable ${WROGN_PROFILE} ${True} | |
122 | + Можливість оголосити тендер з недоліками в параметрах | |
123 | + | |
124 | + | |
114 | 125 | Неможливість змінити статус з draft.publishing на active.tendering |
115 | 126 | [Tags] ${USERS.users['${tender_owner}'].broker}: Неможливість редагувати тендер |
116 | 127 | ... tender_owner | ... | ... |
... | ... | @@ -8,6 +8,8 @@ |
8 | 8 | -v LOT_MEAT:False |
9 | 9 | |
10 | 10 | -i create_tender_without_2_phase_commit |
11 | +-i tender_view_status_draft | |
11 | 12 | -i patch_tender_wrong_date |
12 | 13 | -i patch_tender_wrong_procuringEntity_kind |
13 | --i impossible_change_tender_status_form_draft_to_another_except_draft_publishing | |
\ No newline at end of file | ||
14 | +-i impossible_change_tender_status_form_draft_to_another_except_draft_publishing | |
15 | +-i impossible_make_bid_when_draft | |
\ No newline at end of file | ... | ... |
Please
register
or
login
to post a comment