fix: improve E2E auth resilience and diagnostics #33

Merged
ghost merged 1 commits from fix/e2e-auth-resilience into main 2026-03-10 07:31:27 +00:00

1 Commits

Author SHA1 Message Date
gandalf-the-greybeard[bot] 12efbac95a fix: improve E2E auth resilience and diagnostics
- Wait for Authentik popup to fully load (domcontentloaded + networkidle)
  before interacting with form elements
- Add explicit waitFor on username/password fields with 15s timeout
- Enable screenshot capture on test failure for better diagnostics
- Increase auth setup timeout to 60s to accommodate slow IdP responses

The auth setup was failing because the popup form elements weren't
ready when Playwright tried to fill them — this adds proper load
state waits between each interaction step.
2026-03-09 21:14:53 +00:00