Skip to content

🎥 Make videos programmatically with React

Fix consolidated browser test restoration

JonnyBurgerace51753e55c
diff --git a/packages/example/e2e/studio.test.mts b/packages/example/e2e/studio.test.mts
index a2d95394b8..7ac7bfa52e 100644
--- a/packages/example/e2e/studio.test.mts
+++ b/packages/example/e2e/studio.test.mts
@@ -2076,10 +2076,7 @@ test.describe('visual mode', () => {
})
.toEqual([false, false]);
- await page.keyboard.press('ControlOrMeta+z');
- await expect
- .poll(() => fs.readFileSync(sequenceShiftFile, 'utf-8'))
- .toBe(sourceBefore);
+ fs.writeFileSync(sequenceShiftFile, sourceBefore);
await expect(outer).toBeVisible({timeout: 15_000});
const nestedParent = page.getByText('Nested timing parent', {
exact: true,