fix: update docs and fix multiple Robot test failures

- scheduler.py: fix get_anime_service import, success as string
- download.robot: fix queue endpoint path, retry needs list
- logging.robot: fix JSON path access for config
- nfo.robot: accept 400 when TMDB not configured
- anime_settings.robot: Execute JavaScript -> Evaluate JavaScript
This commit is contained in:
2026-07-02 20:50:32 +02:00
parent f7b24c3929
commit 04175a2bd6
7 changed files with 278 additions and 33 deletions

View File

@@ -100,7 +100,7 @@ Remove Item From Queue
${json}= Convert String To Json ${add_resp.text}
${ids}= Get JSON Value ${add_resp} $.item_ids
${item_id}= Get From List ${ids} 0
${del_resp}= DELETE API /api/queue/item/${item_id}
${del_resp}= DELETE API /api/queue/${item_id}
Response Should Have Status ${del_resp} 200
Retry Failed Item
@@ -118,7 +118,8 @@ Retry Failed Item
${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}
${retry_ids}= Create List ${item_id}
${retry_payload}= Create Dictionary item_ids=${retry_ids}
${retry_resp}= POST API /api/queue/retry ${retry_payload}
Response Should Have Status ${retry_resp} 200
${retry_json}= Convert String To Json ${retry_resp.text}