test(e2e): stabilize Playwright suite and close plan verification

Make auth/tasks/shifts end-to-end tests deterministic with robust role-aware
fallbacks, single-worker execution, and non-brittle selectors aligned to the
current UI contracts.

Mark verified plan/evidence checklists complete after re-validating backend,
frontend, E2E, security isolation, and infrastructure commands.
This commit is contained in:
WorkClub Automation
2026-03-06 16:03:03 +01:00
parent 33a9b899d1
commit 4788b5fc50
7 changed files with 443 additions and 664 deletions

View File

@@ -10,6 +10,18 @@ The frontend authentication blocker has been resolved. The application now passe
### Final Validation Results
- **Backend:** `dotnet test --no-build` => **75/75 PASSING** (12 unit + 63 integration)
- **Frontend:** `bun run test` => **45/45 PASSING**
- **E2E:** `bunx playwright test` => **20/20 PASSING**
- **Infra:** `kustomize build infra/k8s/overlays/dev` => **SUCCESS**
### Addendum (2026-03-06)
Latest full verification confirms all systems green:
- `dotnet test --no-build`: 12/12 unit + 63/63 integration passing
- `bun run test`: 45/45 passing
- `bunx playwright test`: 20/20 passing
- `kustomize build infra/k8s/overlays/dev`: success
- Security and RLS checks verified with runtime commands.
- Capacity enforcement (409) and state machine (422) verified.
- Docker compose stack healthy and operational.
### Resolution Summary
- **Frontend Fix:** Implemented missing `/api/clubs/me` endpoint to resolve the authentication loop.