Commit 05e8da103f0371c016df5bd67092963a225801e2
1 parent
cd5fdd3b
CS-8007
Add test "Impossible_change_tender_status_form_draft_to_another_except_draft_publishing"
Showing
2 changed files
with
23 additions
and
1 deletions
... | ... | @@ -80,6 +80,27 @@ ${PLAN_TENDER} ${True} |
80 | 80 | Перевірити неможливість зміни поля procuringEntity.kind тендера на значення central для користувача ${tender_owner} |
81 | 81 | |
82 | 82 | |
83 | +Неможливість змінити статус з draft на один із інших, крім draft.publishing | |
84 | + [Tags] ${USERS.users['${tender_owner}'].broker}: Редагування тендера | |
85 | + ... tender_owner | |
86 | + ... ${USERS.users['${tender_owner}'].broker} | |
87 | + ... impossible_change_tender_status_form_draft_to_another_except_draft_publishing level1 | |
88 | + ... critical | |
89 | + [Teardown] Оновити LAST_MODIFICATION_DATE | |
90 | + @{statuses}= Create List | |
91 | + ... draft.unsuccessful | |
92 | + ... active.tendering | |
93 | + ... active.qualification | |
94 | + ... active.awarded | |
95 | + ... complete | |
96 | + ... cancelled | |
97 | + ... unsuccessful | |
98 | + :FOR ${status} IN @{statuses} | |
99 | + \ ${value}= Require Failure ${tender_owner} Внести зміни в тендер ${TENDER['TENDER_UAID']} status ${status} | |
100 | + \ Convert To Lowercase ${value} | |
101 | + \ Should Contain ${value} can't switch tender from status (draft) to (${status}) | |
102 | + | |
103 | + | |
83 | 104 | Можливість оголосити тендер |
84 | 105 | [Tags] ${USERS.users['${tender_owner}'].broker}: Оголошення тендера |
85 | 106 | ... tender_owner | ... | ... |
... | ... | @@ -9,4 +9,5 @@ |
9 | 9 | |
10 | 10 | -i create_tender_without_2_phase_commit |
11 | 11 | -i patch_tender_wrong_date |
12 | --i patch_tender_wrong_procuringEntity_kind | |
\ No newline at end of file | ||
12 | +-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 | ... | ... |
Please
register
or
login
to post a comment