Showing
1 changed file
with
14 additions
and
7 deletions
... | ... | @@ -298,16 +298,22 @@ ${question_id} 0 |
298 | 298 | ${bid_id}= get variable value ${biddingresponce1.data.id} |
299 | 299 | ${token1}= Get Variable Value ${biddingresponce1.access.token} |
300 | 300 | log ${token1} |
301 | - ${upload_doc_responce}= Викликати для учасника ${provider} Завантажити документ в ставку ${token1} ${bid_id} | |
302 | - log ${upload_doc_responce} | |
303 | - Set Global Variable ${upload_doc_responce} | |
301 | + ${uploaded_file_data}= Викликати для учасника ${provider} Завантажити документ в ставку ${token1} ${bid_id} | |
302 | + log ${uploaded_file_data} | |
303 | + Set Global Variable ${uploaded_file_data} | |
304 | + | |
304 | 305 | |
305 | 306 | порівняти документ |
306 | - #TODO: compare docs | |
307 | 307 | [Tags] ${USERS.users['${provider}'].broker}: вичитати документ |
308 | - ${url} = Get Variable Value ${upload_doc_responce[0].data.url} | |
308 | + ${flcntnt}= Get From Dictionary ${uploaded_file_data} filecontent | |
309 | + ${resp}= Get From Dictionary ${uploaded_file_data} upload_responce | |
310 | + ${flpth}= Get From Dictionary ${uploaded_file_data} filepath | |
311 | + ${url} = Get Variable Value ${resp.data.url} | |
309 | 312 | ${token1}= Get Variable Value ${biddingresponce1.access.token} |
310 | - ${doc}= Викликати для учасника ${provider} отримати документ ${TENDER_ID} ${url} ${token1} | |
313 | + ${doc} ${flnnm}= Викликати для учасника ${provider} отримати документ ${TENDER_ID} ${url} ${token1} | |
314 | + Should Be Equal ${flcntnt} ${doc} | |
315 | + Should Be Equal ${flpth} ${flnnm} | |
316 | + | |
311 | 317 | |
312 | 318 | Можливість змінити документацію цінової пропозиції |
313 | 319 | [Tags] ${USERS.users['${provider}'].broker}: Можливість прийняти пропозицію переможця |
... | ... | @@ -315,7 +321,8 @@ ${question_id} 0 |
315 | 321 | log ${biddingresponce1} |
316 | 322 | ${bid_id}= get variable value ${biddingresponce1.data.id} |
317 | 323 | ${token1}= Get Variable Value ${biddingresponce1.access.token} |
318 | - ${upload_doc_responce_id}= get variable value ${upload_doc_responce[0].data.id} | |
324 | + ${resp}= Get From Dictionary ${uploaded_file_data} upload_responce | |
325 | + ${upload_doc_responce_id}= get variable value ${resp.data.id} | |
319 | 326 | log ${token1} |
320 | 327 | Викликати для учасника ${provider} Змінити документ в ставці ${token1} ${bid_id} ${upload_doc_responce_id} |
321 | 328 | ... | ... |
Please
register
or
login
to post a comment