Skip to content

🎥 Make videos programmatically with React

Find effect timeline controls by row instead of label nesting

JonnyBurger7a5a9a85b83e
diff --git a/packages/example/e2e/effect-keyframes.test.mts b/packages/example/e2e/effect-keyframes.test.mts
index 1dad2a0325..aedb346d9f 100644
--- a/packages/example/e2e/effect-keyframes.test.mts
+++ b/packages/example/e2e/effect-keyframes.test.mts
@@ -293,12 +293,9 @@ test.describe('effect keyframes', () => {
).toBeVisible({timeout: 1_000});
}).toPass({timeout: 15_000});
- const timelineExpansionLabel = page
- .getByText('Timeline expansion', {exact: true})
- .last();
- const timelineExpansionRow = timelineExpansionLabel
- .locator('..')
- .locator('..');
+ const timelineExpansionRow = page
+ .locator('[data-remotion-sequence-reorder-row]')
+ .filter({has: page.getByText('Timeline expansion', {exact: true})});
const opacityRow = page.getByText('Opacity', {exact: true});
await expect(async () => {
await page