Notifications: screenshot captures use Linux platform signals #1249

Closed
opened 2026-10-06 23:29:22 +00:00 by kayg · 0 comments
Owner

Steps:

  1. Run bun e2e/notifications.mjs --screenshots <dir> on Linux.
  2. Inspect the screenshot context created in apps/web/e2e/notifications.mjs.

Expected: every notification screenshot reports navigator.platform === "MacIntel" and navigator.userAgentData.platform === "macOS" before the app renders.

Actual: the screenshot context uses default Chromium platform signals. On this host, default Chromium reports {"platform":"Linux x86_64","userAgentDataPlatform":null}. This can render platform-specific shortcut glyphs incorrectly and leaves the notification screenshots without the required macOS rendering.

Evidence: /home/kayg/Developer/calternal-wt/bash-core/target/tmp/platform-before.txt; screenshot context in apps/web/e2e/notifications.mjs.
Severity: minor.

Steps: 1. Run `bun e2e/notifications.mjs --screenshots <dir>` on Linux. 2. Inspect the screenshot context created in `apps/web/e2e/notifications.mjs`. Expected: every notification screenshot reports `navigator.platform === "MacIntel"` and `navigator.userAgentData.platform === "macOS"` before the app renders. Actual: the screenshot context uses default Chromium platform signals. On this host, default Chromium reports `{"platform":"Linux x86_64","userAgentDataPlatform":null}`. This can render platform-specific shortcut glyphs incorrectly and leaves the notification screenshots without the required macOS rendering. Evidence: `/home/kayg/Developer/calternal-wt/bash-core/target/tmp/platform-before.txt`; screenshot context in `apps/web/e2e/notifications.mjs`. Severity: minor.
kayg closed this issue 2026-10-07 20:52:27 +00:00
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#1249
No description provided.