Skip to content

Commit 7a5a9a8

Browse files
committed
Find effect timeline controls by row instead of label nesting
1 parent b2a5e92 commit 7a5a9a8

1 file changed

Lines changed: 3 additions & 6 deletions

File tree

‎packages/example/e2e/effect-keyframes.test.mts‎

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -293,12 +293,9 @@ test.describe('effect keyframes', () => {
293293
).toBeVisible({timeout: 1_000});
294294
}).toPass({timeout: 15_000});
295295

296-
const timelineExpansionLabel = page
297-
.getByText('Timeline expansion', {exact: true})
298-
.last();
299-
const timelineExpansionRow = timelineExpansionLabel
300-
.locator('..')
301-
.locator('..');
296+
const timelineExpansionRow = page
297+
.locator('[data-remotion-sequence-reorder-row]')
298+
.filter({has: page.getByText('Timeline expansion', {exact: true})});
302299
const opacityRow = page.getByText('Opacity', {exact: true});
303300
await expect(async () => {
304301
await page

0 commit comments

Comments
 (0)