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,6 +226,7 @@ ${ERROR_PLAN_MESSAGE}= Calling method 'get_plan' failed: ResourceGone: {"status | ||
226 | ${NUMBER_OF_MILESTONES}= Convert To Integer ${NUMBER_OF_MILESTONES} | 226 | ${NUMBER_OF_MILESTONES}= Convert To Integer ${NUMBER_OF_MILESTONES} |
227 | ${WRONG_TENDER_DATE} Get Variable Value ${WRONG_TENDER_DATE} ${False} | 227 | ${WRONG_TENDER_DATE} Get Variable Value ${WRONG_TENDER_DATE} ${False} |
228 | ${EMPTY_PROFILE} Get Variable Value ${EMPTY_PROFILE} ${False} | 228 | ${EMPTY_PROFILE} Get Variable Value ${EMPTY_PROFILE} ${False} |
229 | + ${WRONG_PROFILE} Get Variable Value ${PROFILE} ${True} | ||
229 | ${tender_parameters}= Create Dictionary | 230 | ${tender_parameters}= Create Dictionary |
230 | ... mode=${MODE} | 231 | ... mode=${MODE} |
231 | ... number_of_items=${NUMBER_OF_ITEMS} | 232 | ... number_of_items=${NUMBER_OF_ITEMS} |
@@ -242,6 +243,7 @@ ${ERROR_PLAN_MESSAGE}= Calling method 'get_plan' failed: ResourceGone: {"status | @@ -242,6 +243,7 @@ ${ERROR_PLAN_MESSAGE}= Calling method 'get_plan' failed: ResourceGone: {"status | ||
242 | ... plan_tender=${${PLAN_TENDER}} | 243 | ... plan_tender=${${PLAN_TENDER}} |
243 | ... wrong_tender_date=${${WRONG_TENDER_DATE}} | 244 | ... wrong_tender_date=${${WRONG_TENDER_DATE}} |
244 | ... empty_profile=${${EMPTY_PROFILE}} | 245 | ... empty_profile=${${EMPTY_PROFILE}} |
246 | + ... wrong_profile=${${WRONG_PROFILE}} | ||
245 | ${DIALOGUE_TYPE}= Get Variable Value ${DIALOGUE_TYPE} | 247 | ${DIALOGUE_TYPE}= Get Variable Value ${DIALOGUE_TYPE} |
246 | ${FUNDING_KIND}= Get Variable Value ${FUNDING_KIND} | 248 | ${FUNDING_KIND}= Get Variable Value ${FUNDING_KIND} |
247 | Run keyword if '${DIALOGUE_TYPE}' != '${None}' Set to dictionary ${tender_parameters} dialogue_type=${DIALOGUE_TYPE} | 249 | Run keyword if '${DIALOGUE_TYPE}' != '${None}' Set to dictionary ${tender_parameters} dialogue_type=${DIALOGUE_TYPE} |
@@ -8158,12 +8158,8 @@ | @@ -8158,12 +8158,8 @@ | ||
8158 | "999999-33140000-555666-42000111" | 8158 | "999999-33140000-555666-42000111" |
8159 | ], | 8159 | ], |
8160 | "invalid_profile_ids": [ | 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,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 | Неможливість змінити статус з draft.publishing на active.tendering | 125 | Неможливість змінити статус з draft.publishing на active.tendering |
115 | [Tags] ${USERS.users['${tender_owner}'].broker}: Неможливість редагувати тендер | 126 | [Tags] ${USERS.users['${tender_owner}'].broker}: Неможливість редагувати тендер |
116 | ... tender_owner | 127 | ... tender_owner |
@@ -6,8 +6,7 @@ | @@ -6,8 +6,7 @@ | ||
6 | -v TENDER_MEAT:False | 6 | -v TENDER_MEAT:False |
7 | -v ITEM_MEAT:False | 7 | -v ITEM_MEAT:False |
8 | -v LOT_MEAT:False | 8 | -v LOT_MEAT:False |
9 | --v PROFILE:False | ||
10 | 9 | ||
11 | --i create_tender | 10 | +-i create_tender_invalid_profile |
12 | -i find_tender | 11 | -i find_tender |
13 | -i unsuccessfully_tender_verification_wrong_profile | 12 | -i unsuccessfully_tender_verification_wrong_profile |
@@ -8,6 +8,8 @@ | @@ -8,6 +8,8 @@ | ||
8 | -v LOT_MEAT:False | 8 | -v LOT_MEAT:False |
9 | 9 | ||
10 | -i create_tender_without_2_phase_commit | 10 | -i create_tender_without_2_phase_commit |
11 | +-i tender_view_status_draft | ||
11 | -i patch_tender_wrong_date | 12 | -i patch_tender_wrong_date |
12 | -i patch_tender_wrong_procuringEntity_kind | 13 | -i patch_tender_wrong_procuringEntity_kind |
13 | --i impossible_change_tender_status_form_draft_to_another_except_draft_publishing | ||
14 | +-i impossible_change_tender_status_form_draft_to_another_except_draft_publishing | ||
15 | +-i impossible_make_bid_when_draft |
Please
register
or
login
to post a comment