Skip to content

🎥 Make videos programmatically with React

fix undo-redo tests after ungrouping controls

Jonny Burger61c72dc57f41
diff --git a/packages/example/e2e/undo-redo-sync.test.mts b/packages/example/e2e/undo-redo-sync.test.mts
index 865610b7d1..00b39e19db 100644
--- a/packages/example/e2e/undo-redo-sync.test.mts
+++ b/packages/example/e2e/undo-redo-sync.test.mts
@@ -48,14 +48,7 @@ test.describe('undo redo sync across tabs', () => {
await expect(expandTrackButton).toBeVisible({timeout: 15_000});
await expandTrackButton.click();
- // 3. Expand the Controls section to reveal the schema fields
- const expandControlsButton = page1.locator(
- 'button[aria-label="Expand Controls section"]:not([disabled])',
- );
- await expect(expandControlsButton).toBeVisible({timeout: 10_000});
- await expandControlsButton.click();
-
- // 4. Click the Playback Rate input dragger
+ // 3. Click the Playback Rate input dragger
const playbackRateLabel = page1.getByText('Playback Rate', {exact: true});
await expect(playbackRateLabel).toBeVisible({timeout: 10_000});
diff --git a/packages/example/e2e/undo-redo.test.mts b/packages/example/e2e/undo-redo.test.mts
index 944084ebab..46b502df83 100644
--- a/packages/example/e2e/undo-redo.test.mts
+++ b/packages/example/e2e/undo-redo.test.mts
@@ -42,14 +42,7 @@ test.describe('undo redo', () => {
await expect(expandTrackButton).toBeVisible({timeout: 15_000});
await expandTrackButton.click();
- // 3. Expand the Controls section to reveal the schema fields
- const expandControlsButton = page.locator(
- 'button[aria-label="Expand Controls section"]:not([disabled])',
- );
- await expect(expandControlsButton).toBeVisible({timeout: 10_000});
- await expandControlsButton.click();
-
- // 4. Click the Playback Rate input dragger
+ // 3. Click the Playback Rate input dragger
const playbackRateLabel = page.getByText('Playback Rate', {exact: true});
await expect(playbackRateLabel).toBeVisible({timeout: 10_000});