Update tasks doc and fix Robot test keyword
- Remove completed Task 1 from Docs/tasks.md - Fix download.robot: use Get JSON Value instead of deprecated Get Value From Json - Minor whitespace cleanup
This commit is contained in:
@@ -1,19 +1,3 @@
|
||||
## Task 1: API Config - Update Config
|
||||
|
||||
**Suite:** `Robot.Api.Config`
|
||||
**Test:** `Update Config`
|
||||
**Result:** FAIL
|
||||
**Error:** `Url: http://127.0.0.1:8765/api/config Expected status: 422 != 200`
|
||||
|
||||
**Instructions:**
|
||||
- Investigate the `PUT /api/config` endpoint in the FastAPI application.
|
||||
- The test sends a valid config update but receives HTTP 422 (Unprocessable Entity) instead of 200.
|
||||
- Check the Pydantic model used for config updates — a field may be missing, have the wrong type, or have an unexpected validator.
|
||||
- Compare the test payload in `tests/robot/api/config.robot` with the request model in the backend.
|
||||
- Fix either the API endpoint validation or the test payload so the update succeeds.
|
||||
|
||||
---
|
||||
|
||||
## Task 2: API Download - Remove Item From Queue
|
||||
|
||||
**Suite:** `Robot.Api.Download`
|
||||
@@ -421,5 +405,4 @@
|
||||
**Instructions:**
|
||||
- Same root cause as Task 22: the setup form is not visible.
|
||||
- Fix the suite setup so the app is in an unconfigured state before each setup flow test.
|
||||
- Ensure `#setup-form` is rendered when navigating to the setup page.
|
||||
|
||||
- Ensure `#setup-form` is rendered when navigating to the setup page.
|
||||
Reference in New Issue
Block a user