Sign-in: setup screenshot expects a persisted User theme #1275

Open
opened 2026-10-07 00:26:34 +00:00 by kayg · 0 comments
Owner

Steps:

  1. Run bun e2e/auth.mjs --screenshots against a fresh local server.
  2. Capture the setup passkey screen before the first User has a session.

Expected: the auth screenshot uses its local theme without requiring a server-backed User preference.

Actual: the screenshot helper passes persist: false for the setup page but leaves the shared theme's default stored and persisted expectations enabled. The assertion fails because the unauthenticated setup page has no User-scoped stored mode or server Appearance mode, so no screenshot is captured.

Evidence: auth screenshot run failed at apps/web/e2e/auth.mjs:135 with storedMode and serverMode absent; local theme assertion in apps/web/e2e/harness.mjs.
Severity: minor.

Steps: 1. Run `bun e2e/auth.mjs --screenshots` against a fresh local server. 2. Capture the setup passkey screen before the first User has a session. Expected: the auth screenshot uses its local theme without requiring a server-backed User preference. Actual: the screenshot helper passes `persist: false` for the setup page but leaves the shared theme's default `stored` and `persisted` expectations enabled. The assertion fails because the unauthenticated setup page has no User-scoped stored mode or server Appearance mode, so no screenshot is captured. Evidence: auth screenshot run failed at `apps/web/e2e/auth.mjs:135` with `storedMode` and `serverMode` absent; local theme assertion in `apps/web/e2e/harness.mjs`. Severity: minor.
Commenting is not possible because the repository is archived.
No labels
No milestone
No project
No assignees
1 participant
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
kayg/calternal-v0#1275
No description provided.