test(e2e): Playwright tier asserts altitude lock + matching morph (in & out)
Task 8. New simulator/e2e Playwright tier (§9 browser tier). altitude-lock.spec proves: zooming plays the morph matching the landed clip (forward + .rev), and the clip is LOCKED after landing (no change while parked). advance() records played morph paths on window.__hefMorphs (diagnostic seam; reliable under the blob cache). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -641,6 +641,9 @@ async function advance(delta) {
|
||||
// a slow spin plays each at 1x. Each morph already ends on its destination
|
||||
// clip's frame, so there is NO secondary swap.
|
||||
for (const step of move.steps) {
|
||||
// Diagnostic seam: record the logical morph path played (the resolved URL may
|
||||
// be an in-memory blob, so this is the reliable record for Dev Mode + E2E).
|
||||
(window.__hefMorphs || (window.__hefMorphs = [])).push(step.file);
|
||||
await playTransition(step.file, step.blended);
|
||||
}
|
||||
ringIndex = move.to_index;
|
||||
|
||||
Reference in New Issue
Block a user