Showing
1 changed file
with
2 additions
and
1 deletions
@@ -115,7 +115,8 @@ Library openprocurement_client.utils | @@ -115,7 +115,8 @@ Library openprocurement_client.utils | ||
115 | ${tender}= openprocurement_client.Пошук тендера по ідентифікатору ${username} ${tender_uaid} | 115 | ${tender}= openprocurement_client.Пошук тендера по ідентифікатору ${username} ${tender_uaid} |
116 | ${object_with_url}= get_object_by_id ${tender.data} ${lot_id} lots id | 116 | ${object_with_url}= get_object_by_id ${tender.data} ${lot_id} lots id |
117 | Log ${object_with_url} | 117 | Log ${object_with_url} |
118 | - ${auctionUrl}= Get Variable Value ${object_with_url['auctionUrl']} | 118 | + ${auctionUrl}= Run Keyword IF '${lot_id}' Get Variable Value ${object_with_url['auctionUrl']} |
119 | + ... ELSE Set Variable ${tender.data.auctionUrl} | ||
119 | [Return] ${auctionUrl} | 120 | [Return] ${auctionUrl} |
120 | 121 | ||
121 | 122 |
Please
register
or
login
to post a comment