Files
BanGUI/Docs/Tasks.md
Lukas 2538c50321 fix: add aria-labels to SetupPage inputs and update e2e selectors
- Add aria-label attributes to all form inputs in SetupPage.tsx
  (Master Password, Confirm Password, Database Path, fail2ban Socket Path,
  Timezone, Session Duration) for accessibility and test stability
- Update e2e tests to use xpath selectors with role=alert instead of
  class-based selectors for validation messages
- Add New Context / New Page per test for browser isolation
- Fix API endpoint from /api/setup/status to /api/v1/setup
- Fix response field from setup_complete to completed
- Simplify password strength test to check aria-live text instead of
  DOM class traversal
- Remove completed task docs

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-06-21 12:31:18 +02:00

16 lines
616 B
Markdown

## Task: 01 Setup And Auth — Password Strength Indicator Updates On Input
**Test:** `Password Strength Indicator Updates On Input`
**Suite:** `01_setup_and_auth.robot`
**Step That Fails:** Parent suite setup (`Wait For Backend Health`).
**Files to Check:**
- `e2e/tests/01_setup_and_auth.robot`
- `frontend/src/components/PasswordStrengthIndicator.tsx` (or equivalent)
**Reference Docs:**
- `Docs/Features.md` — Password strength indicator behavior
**Expected Behavior:** Four-segment strength bar updates dynamically as user types password. Weak password shows 1 segment, strong password shows 4 segments.