From c6d96157314eafdfd68d8975e441002a2d0530f7 Mon Sep 17 00:00:00 2001 From: Lukas Date: Sun, 28 Jun 2026 17:08:30 +0200 Subject: [PATCH] fix tests: simplify anime URL key, increase timeout to 10s MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 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 --- Docs/tasks.md | 32 - log.html | 10 +- output.xml | 2394 +++++++++++++++++++++++++-- playwright-log.txt | 38 +- report.html | 10 +- tests/robot/ui/anime_settings.robot | 12 +- 6 files changed, 2310 insertions(+), 186 deletions(-) diff --git a/Docs/tasks.md b/Docs/tasks.md index 637a808..2619f04 100644 --- a/Docs/tasks.md +++ b/Docs/tasks.md @@ -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` diff --git a/log.html b/log.html index 021d816..585e69b 100644 --- a/log.html +++ b/log.html @@ -2073,25 +2073,25 @@ storage = function () { window.output = {};