TEST: theme harness fixtures lack the current User storage window seam #1013

Open
opened 2026-10-03 14:57:38 +00:00 by kayg · 0 comments
Owner

The existing theme harness unit fixtures do not define window, but assertRenderedTheme now reads window.__userStorageTest.

Reproduction on job/canvas-core-976 after merging origin/dev at 90710eaaa:

node --test apps/web/e2e/harness.test.mjs

Output includes error: 'window is not defined', # pass 2, # fail 7. The added Canvas async polling regression passes separately.

The unchanged fixture from the starting head 8351951d3 reproduces the same seven failures against the shared harness: # pass 1, # fail 7. No old expectation or fixture was changed in #976. The real browser theme captures use the actual User storage seam.

Update the old fixture to provide the current User storage seam without changing its theme assertions. Run the complete harness unit file. This is a test fixture problem, not a rendered theme failure.

The existing theme harness unit fixtures do not define `window`, but `assertRenderedTheme` now reads `window.__userStorageTest`. Reproduction on job/canvas-core-976 after merging origin/dev at 90710eaaa: ``` node --test apps/web/e2e/harness.test.mjs ``` Output includes `error: 'window is not defined'`, `# pass 2`, `# fail 7`. The added Canvas async polling regression passes separately. The unchanged fixture from the starting head 8351951d3 reproduces the same seven failures against the shared harness: `# pass 1`, `# fail 7`. No old expectation or fixture was changed in #976. The real browser theme captures use the actual User storage seam. Update the old fixture to provide the current User storage seam without changing its theme assertions. Run the complete harness unit file. This is a test fixture problem, not a rendered theme failure.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
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#1013
No description provided.