Commit a2cb2b61aed6e15ac1ff7f84116afc658222baae
1 parent
9677cb1a
Separate tender and lot cancellation_data variable
Showing
2 changed files
with
4 additions
and
4 deletions
| @@ -145,17 +145,18 @@ Suite Teardown Test Suite Teardown | @@ -145,17 +145,18 @@ Suite Teardown Test Suite Teardown | ||
| 145 | 145 | ||
| 146 | *** Keywords *** | 146 | *** Keywords *** |
| 147 | Можливість скасувати тендер | 147 | Можливість скасувати тендер |
| 148 | - ${cancellation_data}= Підготувати дані про скасування ${tender_owner} | 148 | + ${cancellation_data}= Підготувати дані про скасування |
| 149 | Run As ${tender_owner} | 149 | Run As ${tender_owner} |
| 150 | ... Скасувати закупівлю | 150 | ... Скасувати закупівлю |
| 151 | ... ${TENDER['TENDER_UAID']} | 151 | ... ${TENDER['TENDER_UAID']} |
| 152 | ... ${cancellation_data['cancellation_reason']} | 152 | ... ${cancellation_data['cancellation_reason']} |
| 153 | ... ${cancellation_data['document']['doc_path']} | 153 | ... ${cancellation_data['document']['doc_path']} |
| 154 | ... ${cancellation_data['description']} | 154 | ... ${cancellation_data['description']} |
| 155 | + Set To Dictionary ${USERS.users['${tender_owner}']} tender_cancellation_data=${cancellation_data} | ||
| 155 | 156 | ||
| 156 | 157 | ||
| 157 | Можливість скасувати лот | 158 | Можливість скасувати лот |
| 158 | - ${cancellation_data}= Підготувати дані про скасування ${tender_owner} | 159 | + ${cancellation_data}= Підготувати дані про скасування |
| 159 | Run As ${tender_owner} | 160 | Run As ${tender_owner} |
| 160 | ... Скасувати лот | 161 | ... Скасувати лот |
| 161 | ... ${TENDER['TENDER_UAID']} | 162 | ... ${TENDER['TENDER_UAID']} |
| @@ -163,6 +164,7 @@ Suite Teardown Test Suite Teardown | @@ -163,6 +164,7 @@ Suite Teardown Test Suite Teardown | ||
| 163 | ... ${cancellation_data['cancellation_reason']} | 164 | ... ${cancellation_data['cancellation_reason']} |
| 164 | ... ${cancellation_data['document']['doc_path']} | 165 | ... ${cancellation_data['document']['doc_path']} |
| 165 | ... ${cancellation_data['description']} | 166 | ... ${cancellation_data['description']} |
| 167 | + Set To Dictionary ${USERS.users['${tender_owner}']} lot_cancellation_data=${cancellation_data} | ||
| 166 | 168 | ||
| 167 | 169 | ||
| 168 | Звірити відображення поля ${field} документа до скасування ${doc_id} із ${left} для користувача ${username} | 170 | Звірити відображення поля ${field} документа до скасування ${doc_id} із ${left} для користувача ${username} |
| @@ -266,7 +266,6 @@ Get Broker Property By Username | @@ -266,7 +266,6 @@ Get Broker Property By Username | ||
| 266 | 266 | ||
| 267 | 267 | ||
| 268 | Підготувати дані про скасування | 268 | Підготувати дані про скасування |
| 269 | - [Arguments] ${username} | ||
| 270 | ${cancellation_reason}= create_fake_sentence | 269 | ${cancellation_reason}= create_fake_sentence |
| 271 | ${file_path} ${file_name} ${file_content}= create_fake_doc | 270 | ${file_path} ${file_name} ${file_content}= create_fake_doc |
| 272 | ${doc_id}= get_id_from_string ${file_name} | 271 | ${doc_id}= get_id_from_string ${file_name} |
| @@ -281,7 +280,6 @@ Get Broker Property By Username | @@ -281,7 +280,6 @@ Get Broker Property By Username | ||
| 281 | ... document=${document} | 280 | ... document=${document} |
| 282 | ... description=${new_description} | 281 | ... description=${new_description} |
| 283 | ${cancellation_data}= munchify ${cancellation_data} | 282 | ${cancellation_data}= munchify ${cancellation_data} |
| 284 | - Set To Dictionary ${USERS.users['${username}']} cancellation_data=${cancellation_data} | ||
| 285 | [Return] ${cancellation_data} | 283 | [Return] ${cancellation_data} |
| 286 | 284 | ||
| 287 | 285 |
Please
register
or
login
to post a comment