🎥 Make videos programmatically with React
cool
JonnyBurgerea9a625dd4ba
diff --git a/packages/example/e2e/undo-redo-sync.test.mts b/packages/example/e2e/undo-redo-sync.test.mtsindex 7ac2326642..2b8458ada4 100644--- a/packages/example/e2e/undo-redo-sync.test.mts+++ b/packages/example/e2e/undo-redo-sync.test.mts@@ -42,11 +42,20 @@ test.describe('undo redo sync across tabs', () => {});// 2. Click the expand arrow on the Video track- const expandButton = page1.locator('button[aria-label="Expand track"]');- await expect(expandButton).toBeVisible({timeout: 15_000});- await expandButton.click();-- // 3. Click the Playback Rate input dragger+ const expandTrackButton = page1.locator(+ 'button[aria-label="Expand track properties"]',+ );+ 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"]',+ );+ await expect(expandControlsButton).toBeVisible({timeout: 10_000});+ await expandControlsButton.click();++ // 4. Click the Playback Rate input draggerconst 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.mtsindex 36570a2240..e353db3660 100644--- a/packages/example/e2e/undo-redo.test.mts+++ b/packages/example/e2e/undo-redo.test.mts@@ -36,11 +36,20 @@ test.describe('undo redo', () => {});// 2. Click the expand arrow on the Video track- const expandButton = page.locator('button[aria-label="Expand track"]');- await expect(expandButton).toBeVisible({timeout: 15_000});- await expandButton.click();-- // 3. Click the Playback Rate input dragger+ const expandTrackButton = page.locator(+ 'button[aria-label="Expand track properties"]',+ );+ 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"]',+ );+ await expect(expandControlsButton).toBeVisible({timeout: 10_000});+ await expandControlsButton.click();++ // 4. Click the Playback Rate input draggerconst playbackRateLabel = page.getByText('Playback Rate', {exact: true});await expect(playbackRateLabel).toBeVisible({timeout: 10_000});diff --git a/packages/studio/src/components/Timeline/TimelineExpandedSection.tsx b/packages/studio/src/components/Timeline/TimelineExpandedSection.tsxindex c6b775cfd3..095b68131c 100644--- a/packages/studio/src/components/Timeline/TimelineExpandedSection.tsx+++ b/packages/studio/src/components/Timeline/TimelineExpandedSection.tsx@@ -126,7 +126,7 @@ export const TimelineExpandedSection: React.FC<{<TimelineExpandArrowButtonisExpanded={isExpanded}onClick={() => toggleTrack(node.id)}- label={node.label}+ label={`${node.label} section`}/><span style={rowLabel}>{node.label}</span></div>diff --git a/packages/studio/src/components/Timeline/TimelineListItem.tsx b/packages/studio/src/components/Timeline/TimelineListItem.tsxindex 60996d977a..ed915f3d7c 100644--- a/packages/studio/src/components/Timeline/TimelineListItem.tsx+++ b/packages/studio/src/components/Timeline/TimelineListItem.tsx@@ -239,7 +239,7 @@ export const TimelineListItem: React.FC<{<TimelineExpandArrowButtonisExpanded={isExpanded}onClick={onToggleExpand}- label="track"+ label="track properties"/>) : (<TimelineExpandArrowSpacer />