From 1f8f97047cd0d88282fb56979a6d8d7166ff9bcb Mon Sep 17 00:00:00 2001 From: Miguel Angel Simon Sierra Date: Fri, 2 Oct 2026 02:46:59 -0700 Subject: [PATCH] test(studio): the undo socket test holds round 0 to a full restore too --- packages/studio/tests/e2e/undo-socket-pool.mjs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/studio/tests/e2e/undo-socket-pool.mjs b/packages/studio/tests/e2e/undo-socket-pool.mjs index 01de1606fe..23b053e5d9 100644 --- a/packages/studio/tests/e2e/undo-socket-pool.mjs +++ b/packages/studio/tests/e2e/undo-socket-pool.mjs @@ -165,8 +165,7 @@ try { const reverted = await until(() => readIndex() === before, 5_000); const stallMs = undo?.timing ? Math.round(undo.timing.sendStart) : null; rounds.push({ round, pinned, stallMs, reverted }); - // Round 0 is exempt until the fix for the first undo of a GSAP-free film, which takes back only part, lands. - if (!reverted && round > 0) failures.push(`round ${round}: the undo did not restore the file`); + if (!reverted) failures.push(`round ${round}: the undo did not restore the file`); if (stallMs == null) failures.push(`round ${round}: the undo's POST history/step never answered`); else if (stallMs > STALL_LIMIT_MS)