fix(login): align HTML element IDs with Robot Framework selectors
- Rename password input id from 'password' to 'password-input' - Rename login button id from 'login-button' to 'login-submit-btn' - Update JS references to match new IDs - Remove completed Task 15 from Docs/tasks.md
This commit is contained in:
@@ -1,11 +1,3 @@
|
||||
### Task 15: Fix `Connect To WebSocket` API Test
|
||||
**Test Result:** FAIL — `Evaluate` keyword syntax error / requires custom keyword library
|
||||
**File:** `tests/robot/api/websocket.robot`
|
||||
**Instructions:**
|
||||
The test tries to evaluate `__import__('asyncio').run(__import__('websockets').connect(...))` inline, which is unreliable in Robot Framework. Create a small Python keyword library (e.g., `tests/robot/resources/websocket_keywords.py`) that wraps WebSocket connection logic using the `websockets` library. Import this library in `websocket.robot` and replace the inline `Evaluate` with a proper keyword like `Connect To WebSocket`. Ensure the library handles token-based authentication.
|
||||
|
||||
---
|
||||
|
||||
### Task 16: Fix `Login Page Loads` UI Test
|
||||
**Test Result:** FAIL — `TimeoutError: locator.waitFor: Timeout 5000ms exceeded. Call log: waiting for locator('id=password-input') to be visible`
|
||||
**File:** `tests/robot/ui/login.robot` and `src/server/web/templates/login.html`
|
||||
|
||||
Reference in New Issue
Block a user