diff --git a/tests/robot/api/download.robot b/tests/robot/api/download.robot index 72221b0..fe0afcf 100644 --- a/tests/robot/api/download.robot +++ b/tests/robot/api/download.robot @@ -99,7 +99,7 @@ Remove Item From Queue ${add_resp}= Add To Queue ${payload} ${json}= Convert String To Json ${add_resp.text} ${ids}= Get Value From Json ${json} $.item_ids - ${item_id}= Set Variable ${ids}[0] + ${item_id}= Get From List ${ids} 0 ${del_resp}= DELETE API /api/queue/item/${item_id} Response Should Have Status ${del_resp} 200 @@ -115,7 +115,7 @@ Retry Failed Item ${add_resp}= Add To Queue ${payload} ${json}= Convert String To Json ${add_resp.text} ${ids}= Get Value From Json ${json} $.item_ids - ${item_id}= Set Variable ${ids}[0] + ${item_id}= Get From List ${ids} 0 # Retry endpoint accepts item_ids list, returns 200 even if no items actually failed # (retried_count will be 0 if item wasn't in failed state) ${retry_payload}= Create Dictionary item_ids=${item_id}