fix e2e: update selectors and fail2ban check
Some checks are pending
CI / Backend Tests (push) Waiting to run
CI / Lint (push) Waiting to run
CI / Type Check (push) Waiting to run
CI / Import Boundary (push) Waiting to run
CI / OpenAPI Breaking Changes (push) Waiting to run
CI / OpenAPI Baseline Commit (push) Waiting to run
Some checks are pending
CI / Backend Tests (push) Waiting to run
CI / Lint (push) Waiting to run
CI / Type Check (push) Waiting to run
CI / Import Boundary (push) Waiting to run
CI / OpenAPI Breaking Changes (push) Waiting to run
CI / OpenAPI Baseline Commit (push) Waiting to run
- 01_setup_and_auth: use xpath alert locator instead of css - 02_ban_records: check fail2ban-client status instead of custom script - Docs/Tasks.md: remove resolved task entries
This commit is contained in:
@@ -1,45 +1,3 @@
|
||||
## Task: 01 Setup And Auth — Invalid Session Duration Shows Validation Error
|
||||
|
||||
**Test:** `Invalid Session Duration Shows Validation Error`
|
||||
**Suite:** `01_setup_and_auth.robot`
|
||||
|
||||
**Step That Fails:** Waiting for validation alert on Session Duration field.
|
||||
|
||||
**Error:** `TimeoutError: locator.evaluate: Timeout 10000ms exceeded.`
|
||||
Waiting for locator: `//*[@aria-label="Session Duration (minutes)"]/ancestor::*[contains(@class,"field")]//*[@role="alert"]`
|
||||
|
||||
**Files to Check:**
|
||||
- `e2e/tests/01_setup_and_auth.robot`
|
||||
- `frontend/src/pages/SetupPage.tsx`
|
||||
|
||||
**Reference Docs:**
|
||||
- `Docs/Features.md` — Session duration validation rules
|
||||
|
||||
**Expected Behavior:** Entering an invalid session duration and submitting should display a `[role="alert"]` error in the field container.
|
||||
|
||||
---
|
||||
|
||||
## Task: 01 Setup And Auth — Incomplete Password Shows Complexity Error
|
||||
|
||||
**Test:** `Incomplete Password Shows Complexity Error`
|
||||
**Suite:** `01_setup_and_auth.robot`
|
||||
|
||||
**Step That Fails:** Waiting for validation alert on Master Password field after weak password input.
|
||||
|
||||
**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`
|
||||
|
||||
**Reference Docs:**
|
||||
- `Docs/Features.md` — Password complexity requirements
|
||||
|
||||
**Expected Behavior:** Submitting a password that doesn't meet complexity rules should show a `[role="alert"]` error message.
|
||||
|
||||
---
|
||||
|
||||
## Task: 02 Ban Records — Simulated Failed Logins Appear As Ban Records
|
||||
|
||||
**Test:** `Simulated Failed Logins Appear As Ban Records`
|
||||
|
||||
Reference in New Issue
Block a user