Commit graph

5 commits

Author SHA1 Message Date
CREDO23
f3484f5a24 test(e2e): dismiss new-user UI overlays in auth setup
The active "AI Automations" announcement (2026-05-31 -> 2026-07-15) renders
a blocking AnnouncementSpotlight dialog whose full-screen overlay intercepts
all clicks for the freshly-registered e2e user, breaking every UI-driven
journey (e.g. the file-upload upload button). Pre-seed the localStorage flags
that gate the new-user overlays before saving storageState:

- surfsense_announcements_state: mark all announcements read + toasted
  (sourced from announcements-data so future entries are covered).
- surfsense-tour-<userId>: suppress the OnboardingTour spotlight.

Restores the Journey suite (file-upload markdown + PDF round-trips now green).
2026-06-04 17:03:26 +02:00
Anish Sarkar
b247ff37df chore: implement test-only token mint endpoint and update E2E test authentication flow 2026-05-11 19:48:18 +05:30
Anish Sarkar
68f45335bc chore: implement E2E testing setup with Docker Compose and update workflow for backend and Redis services 2026-05-11 03:09:01 +05:30
Anish Sarkar
b1d8a45347 fix: update Playwright test email domain in E2E tests 2026-05-04 19:35:27 +05:30
Anish Sarkar
876f1da020 test(web): add Playwright config and dashboard smoke test 2026-05-04 17:50:06 +05:30