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>
This commit is contained in:
2026-06-21 12:31:09 +02:00
parent 5f33959efd
commit 2538c50321
4 changed files with 42 additions and 2268 deletions

View File

@@ -1,12 +1,12 @@
{
"name": "bangui-frontend",
"version": "0.9.19-rc.4",
"version": "0.9.19-rc.5",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "bangui-frontend",
"version": "0.9.19-rc.4",
"version": "0.9.19-rc.5",
"dependencies": {
"@fluentui/react-components": "^9.55.0",
"@fluentui/react-icons": "^2.0.257",