Commit cde5d5216e55c0a0ef3e8ea9b097c6a1526462b5

Authored by dtrenkenshu
Committed by OrysiaDrabych
1 parent 0f7385fd

Fixed issue with the documentType not being registerExtract

... ... @@ -957,8 +957,12 @@ Library openprocurement_client.utils
957 957 ... [Return] Last document from pre-quailfication
958 958 [Arguments] ${username} ${tender_uaid} ${qualification_id}
959 959 ${docs}= Run As ${username} Отримати список документів по прекваліфікації ${tender_uaid} ${qualification_id}
960   - Log ${docs}
961   - [Return] ${docs['data'][-1]}
  960 + ${res}= Create List
  961 + :FOR ${item} IN @{docs['data']}
  962 + \ Run Keyword If '${item.documentType}'=='registerExtract'
  963 + \ ... Append To List ${res} ${item}
  964 + Log ${res}
  965 + [Return] ${res[-1]}
962 966
963 967
964 968 Отримати останній документ кваліфікації
... ...
Please register or login to post a comment