Skip to content

fix(test): v2-schema screenmap counting unblocks Playwright collection - #234

Merged
zackees merged 1 commit into
mainfrom
fix/multistrip-spec-v2-fixture
Jul 8, 2026
Merged

zackees merged 1 commit into
mainfrom
fix/multistrip-spec-v2-fixture

Conversation

@zackees

@zackees zackees commented Jul 8, 2026

Copy link
Copy Markdown
Owner

multistrip-compat.spec.ts still read the v1 map key from the
multi-strip fixture at module scope; the fixture moved to the v2
segments schema in #144, so loading the file threw and killed the
entire Playwright run before any test executed - including the first
gpu-nightly dispatch, which failed at collection without running a
single @gpu spec.

Extract a shared v2-or-v1 counting helper (tests/helpers/
screenmap-count.ts), use it for the fixture read and the two
store-round-trip assertions, and dedupe moviemaker-recording.spec.ts's
local copy onto it.

Deeper rot remains in multistrip-compat.spec.ts (movieplayer
#btn_upload_screenmap no longer exists, .rgb uploads were removed in
#133, shapeeditor save assertions still expect v1) - runtime-only
failures outside the @gpu grep, left for a dedicated cleanup.

Co-Authored-By: Claude Fable 5 [email protected]

multistrip-compat.spec.ts still read the v1 `map` key from the
multi-strip fixture at module scope; the fixture moved to the v2
`segments` schema in #144, so loading the file threw and killed the
entire Playwright run before any test executed - including the first
gpu-nightly dispatch, which failed at collection without running a
single @gpu spec.

Extract a shared v2-or-v1 counting helper (tests/helpers/
screenmap-count.ts), use it for the fixture read and the two
store-round-trip assertions, and dedupe moviemaker-recording.spec.ts's
local copy onto it.

Deeper rot remains in multistrip-compat.spec.ts (movieplayer
#btn_upload_screenmap no longer exists, .rgb uploads were removed in
#133, shapeeditor save assertions still expect v1) - runtime-only
failures outside the @gpu grep, left for a dedicated cleanup.

Co-Authored-By: Claude Fable 5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant