Settings: section screenshot matrix uses Linux platform signals #1242

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

Steps:

  1. Run bun e2e/settings-cards-402.mjs on Linux. The script captures every Settings section and group at 390, 820 and 1440 px in both themes.
  2. Inspect the browser contexts created in apps/web/e2e/settings-cards-402.mjs.

Expected: every screenshot context reports navigator.platform === "MacIntel" and, when available, navigator.userAgentData.platform === "macOS" before a route renders.

Actual: this suite does not emulate macOS. A default Chromium context on this host reports {"platform":"Linux x86_64","userAgentDataPlatform":null}. This can render platform-specific shortcut glyphs incorrectly and leaves the Settings screenshot review without the required macOS rendering.

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

Steps: 1. Run `bun e2e/settings-cards-402.mjs` on Linux. The script captures every Settings section and group at 390, 820 and 1440 px in both themes. 2. Inspect the browser contexts created in `apps/web/e2e/settings-cards-402.mjs`. Expected: every screenshot context reports `navigator.platform === "MacIntel"` and, when available, `navigator.userAgentData.platform === "macOS"` before a route renders. Actual: this suite does not emulate macOS. A default Chromium context on this host reports `{"platform":"Linux x86_64","userAgentDataPlatform":null}`. This can render platform-specific shortcut glyphs incorrectly and leaves the Settings screenshot review without the required macOS rendering. Evidence: `/home/kayg/Developer/calternal-wt/bash-core/target/tmp/platform-before.txt`; context setup in `apps/web/e2e/settings-cards-402.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#1242
No description provided.