Mail: screenshot fixture rejects prepared-image action #1277

Open
opened 2026-10-07 00:31:52 +00:00 by kayg · 1 comment
Owner

Steps:

  1. Build the web app.
  2. Run bun e2e/mail-layouts.mjs with the local production server fixture.
  3. Let the light/dark, 390/820/1440 px captures finish.

Expected: the prepared-images fixture action updates the seeded message and the Mail layout run completes.
Actual: the fixture exits with unknown fixture action: prepared-images at apps/web/e2e/mail-layouts.mjs:311, so the run cannot finish its image-rendering checks.
Evidence: local production build; artifacts/bash-mail/mail-layouts/ has the viewport/theme captures; terminal failure at the stated line.
Severity: minor (Mail visual verification is blocked after the layout checks).

Steps: 1. Build the web app. 2. Run `bun e2e/mail-layouts.mjs` with the local production server fixture. 3. Let the light/dark, 390/820/1440 px captures finish. Expected: the `prepared-images` fixture action updates the seeded message and the Mail layout run completes. Actual: the fixture exits with `unknown fixture action: prepared-images` at `apps/web/e2e/mail-layouts.mjs:311`, so the run cannot finish its image-rendering checks. Evidence: local production build; `artifacts/bash-mail/mail-layouts/` has the viewport/theme captures; terminal failure at the stated line. Severity: minor (Mail visual verification is blocked after the layout checks).
Author
Owner

Fixed on branch in commit 45b26bf155. The prepared-images action now returns success after updating the seeded Message, and the Mail layout e2e waits for the real sanitizer projection before checking the iframe. The first run after the action fix passed that fixture step but timed out before seeing the image; the rerun after adding the wait failed earlier while opening a seeded Thread (This message could not be opened). The complete run remains unverified. Screenshots from the completed layout pass are at artifacts/bash-mail/mail-layouts/.

Fixed on branch in commit 45b26bf155a3a748146a8f5744550cffecec0c9a. The `prepared-images` action now returns success after updating the seeded Message, and the Mail layout e2e waits for the real sanitizer projection before checking the iframe. The first run after the action fix passed that fixture step but timed out before seeing the image; the rerun after adding the wait failed earlier while opening a seeded Thread (`This message could not be opened`). The complete run remains unverified. Screenshots from the completed layout pass are at `artifacts/bash-mail/mail-layouts/`.
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#1277
No description provided.