Showing
1 changed file
with
8 additions
and
2 deletions
| ... | ... | @@ -249,13 +249,19 @@ Library openprocurement_client_helper.py |
| 249 | 249 | Отримати посилання на аукціон для глядача |
| 250 | 250 | [Arguments] ${username} ${tender_uaid} |
| 251 | 251 | ${tender}= openprocurement_client.Пошук тендера по ідентифікатору ${username} ${tender_uaid} |
| 252 | - [return] ${tender.data.auctionUrl} | |
| 252 | + ${lots}= Get Variable Value ${tender.data.lots} | |
| 253 | + ${auctionUrl}= Run Keyword If ${lots} Set Variable ${tender.data.lots[0].auctionUrl} | |
| 254 | + ... ELSE Set Variable ${tender.data.auctionUrl} | |
| 255 | + [return] ${auctionUrl} | |
| 253 | 256 | |
| 254 | 257 | |
| 255 | 258 | Отримати посилання на аукціон для учасника |
| 256 | 259 | [Arguments] ${username} ${tender_uaid} |
| 257 | 260 | ${bid}= openprocurement_client.Отримати пропозицію ${username} ${tender_uaid} |
| 258 | - [return] ${bid.data.participationUrl} | |
| 261 | + ${lots}= Get Variable Value ${bid.data.lotValues} | |
| 262 | + ${participationUrl}= Run Keyword If ${lots} Set Variable ${bid.data.lotValues[0].participationUrl} | |
| 263 | + ... ELSE Set Variable ${bid.data.participationUrl} | |
| 264 | + [return] ${participationUrl} | |
| 259 | 265 | |
| 260 | 266 | |
| 261 | 267 | Отримати пропозицію | ... | ... |
Please
register
or
login
to post a comment