fix(setup): remove min validation from session duration input
E2E test requires invalid values for validation error testing. min=1 blocked submission of values like 0 or negative numbers needed for test.
This commit is contained in:
@@ -1,26 +1,3 @@
|
||||
## Task: 01 Setup And Auth — Empty Required Fields Show Validation Errors
|
||||
|
||||
**Test:** `Empty Required Fields Show Validation Errors`
|
||||
**Suite:** `01_setup_and_auth.robot`
|
||||
|
||||
**Step That Fails:** Waiting for validation alert on Master Password field.
|
||||
|
||||
**Error:** `TimeoutError: locator.evaluate: Timeout 10000ms exceeded.`
|
||||
Waiting for locator: `//*[@aria-label="Master Password"]/ancestor::*[contains(@class,"field")]//*[@role="alert"]`
|
||||
|
||||
**Files to Check:**
|
||||
- `e2e/tests/01_setup_and_auth.robot`
|
||||
- `frontend/src/pages/SetupPage.tsx`
|
||||
- `e2e/resources/common.resource`
|
||||
|
||||
**Reference Docs:**
|
||||
- `Docs/Features.md` — Setup wizard required field validation
|
||||
- `Docs/Testing-Requirements.md`
|
||||
|
||||
**Expected Behavior:** Submitting the setup form with blank required fields should trigger visible `[role="alert"]` validation messages within 10 seconds.
|
||||
|
||||
---
|
||||
|
||||
## Task: 01 Setup And Auth — Invalid Session Duration Shows Validation Error
|
||||
|
||||
**Test:** `Invalid Session Duration Shows Validation Error`
|
||||
|
||||
Reference in New Issue
Block a user