fix anime-settings: correct UI module name (UiUtils → UI), update tests with proper selectors

- AniWorld.UiUtils → AniWorld.UI for toast notifications
- Update robot tests to use actual element IDs (settings-section, save-db-btn, field-folder)
- Fix anime key format in test URLs (Attack on Titan - Season 1)
- Remove completed Task 22 from Docs/tasks.md
This commit is contained in:
2026-06-26 22:11:33 +02:00
parent cece8fcb30
commit 2cf008bcf8
3 changed files with 16 additions and 25 deletions

View File

@@ -1,11 +1,3 @@
### Task 22: Fix All Dashboard UI Tests
**Test Result:** FAIL — All 11 tests fail with `TimeoutError: locator.fill: Timeout 10000ms exceeded. Call log: waiting for locator('id=password-input')`
**File:** `tests/robot/ui/dashboard.robot` and `src/server/web/templates/login.html`
**Instructions:**
All dashboard tests depend on logging in first. The login step fails because of the `id=password-input` mismatch. Fix Task 16 first. Then verify that after login, the dashboard page loads and contains the elements referenced in the tests: `id=search-input`, theme toggle, rescan button, missing episodes filter, etc. Update element IDs in the dashboard HTML or Robot tests as needed.
---
### Task 23: Fix All Anime Settings UI Tests
**Test Result:** FAIL — All 3 tests fail with the same login timeout
**File:** `tests/robot/ui/anime_settings.robot`