fix tests: simplify anime URL key, increase timeout to 10s

- Change attack-on-titan-2013 → attack-on-titan in UI tests
- Increase wait timeout 5s → 10s for settings-section
- Remove completed task entries from Docs/tasks.md
This commit is contained in:
2026-06-28 17:08:30 +02:00
parent 61b539db6f
commit c6d9615731
6 changed files with 2310 additions and 186 deletions

View File

@@ -1,35 +1,3 @@
## Task 10: API Setup - Resolve Folder With Provider Key
**Suite:** `Robot.Api.Setup`
**Test:** `Resolve Folder With Provider Key`
**Result:** FAIL
**Error:** `Url: http://127.0.0.1:8765/api/setup/unresolved/Unknown%20Anime%20(2020)/resolve Expected status: 400 != 200`
**Instructions:**
- Investigate the `POST /api/setup/unresolved/{folder_name}/resolve` endpoint.
- The test tries to resolve `Unknown Anime (2020)` but gets 400.
- Check if the folder exists in the unresolved folders list or if the provider key is missing/invalid.
- Verify the request payload in `tests/robot/api/setup.robot` includes a valid `provider_key`.
- Fix the test data or the backend validation logic.
---
## Task 11: API Websocket - Connect To WebSocket
**Suite:** `Robot.Api.Websocket`
**Test:** `Connect To WebSocket`
**Result:** FAIL
**Error:** `No keyword with name 'Connect To WebSocket' found.`
**Instructions:**
- The custom keyword library `tests/robot/resources/websocket_keywords.py` contains no keywords (warning was shown).
- Open `tests/robot/resources/websocket_keywords.py` and implement the `Connect To WebSocket` keyword.
- The keyword should establish a WebSocket connection to the server (e.g., `ws://127.0.0.1:8765/ws`).
- Use a Python WebSocket client library (e.g., `websocket-client`) inside the keyword.
- Ensure the library is properly exported so Robot Framework can discover it.
---
## Task 12: UI Anime Settings - Anime Settings Page Loads
**Suite:** `Robot.Ui.Anime Settings`