Skip to content

Write HTML. Render video. Built for agents.

test(studio): the A-roll backdrop check fails if Studio stops stamping the backdrop (#5476)

Miguel Ángel2922c40171e2
diff --git a/packages/studio/tests/e2e/aroll-backdrop.mjs b/packages/studio/tests/e2e/aroll-backdrop.mjs
index 5b3bc6e999..0397a93e41 100644
--- a/packages/studio/tests/e2e/aroll-backdrop.mjs
+++ b/packages/studio/tests/e2e/aroll-backdrop.mjs
@@ -117,7 +117,13 @@ try {
);
evidence.step = "paused at the start";
- expectAroll("paused-start", await shoot("paused-start"));
+ const start = await shoot("paused-start");
+ // The fixture guards a preview-stamped backdrop; unstamped, it no longer tests that shape.
+ if (start.after.plateStamped !== "1")
+ failures.push(
+ `paused-start: #plate is not stamped (data-hf-autostamped=${start.after.plateStamped})`,
+ );
+ expectAroll("paused-start", start);
evidence.step = "playing before the plate";
await page.click('button[aria-label="Play"]');