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 | 145 | |
| 146 | 146 | *** Keywords *** |
| 147 | 147 | Можливість скасувати тендер |
| 148 | - ${cancellation_data}= Підготувати дані про скасування ${tender_owner} | |
| 148 | + ${cancellation_data}= Підготувати дані про скасування | |
| 149 | 149 | Run As ${tender_owner} |
| 150 | 150 | ... Скасувати закупівлю |
| 151 | 151 | ... ${TENDER['TENDER_UAID']} |
| 152 | 152 | ... ${cancellation_data['cancellation_reason']} |
| 153 | 153 | ... ${cancellation_data['document']['doc_path']} |
| 154 | 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 | 160 | Run As ${tender_owner} |
| 160 | 161 | ... Скасувати лот |
| 161 | 162 | ... ${TENDER['TENDER_UAID']} |
| ... | ... | @@ -163,6 +164,7 @@ Suite Teardown Test Suite Teardown |
| 163 | 164 | ... ${cancellation_data['cancellation_reason']} |
| 164 | 165 | ... ${cancellation_data['document']['doc_path']} |
| 165 | 166 | ... ${cancellation_data['description']} |
| 167 | + Set To Dictionary ${USERS.users['${tender_owner}']} lot_cancellation_data=${cancellation_data} | |
| 166 | 168 | |
| 167 | 169 | |
| 168 | 170 | Звірити відображення поля ${field} документа до скасування ${doc_id} із ${left} для користувача ${username} | ... | ... |
| ... | ... | @@ -266,7 +266,6 @@ Get Broker Property By Username |
| 266 | 266 | |
| 267 | 267 | |
| 268 | 268 | Підготувати дані про скасування |
| 269 | - [Arguments] ${username} | |
| 270 | 269 | ${cancellation_reason}= create_fake_sentence |
| 271 | 270 | ${file_path} ${file_name} ${file_content}= create_fake_doc |
| 272 | 271 | ${doc_id}= get_id_from_string ${file_name} |
| ... | ... | @@ -281,7 +280,6 @@ Get Broker Property By Username |
| 281 | 280 | ... document=${document} |
| 282 | 281 | ... description=${new_description} |
| 283 | 282 | ${cancellation_data}= munchify ${cancellation_data} |
| 284 | - Set To Dictionary ${USERS.users['${username}']} cancellation_data=${cancellation_data} | |
| 285 | 283 | [Return] ${cancellation_data} |
| 286 | 284 | |
| 287 | 285 | ... | ... |
Please
register
or
login
to post a comment