diff --git a/e2e/src/ui/specs/timeline/utils.ts b/e2e/src/ui/specs/timeline/utils.ts index 986f794fb..96cdbc00b 100644 --- a/e2e/src/ui/specs/timeline/utils.ts +++ b/e2e/src/ui/specs/timeline/utils.ts @@ -132,6 +132,7 @@ export const timelineUtils = { return page.locator('#asset-grid'); }, async waitForTimelineLoad(page: Page) { + await expect(timelineUtils.locator(page)).toHaveCount(1); await expect(timelineUtils.locator(page)).toBeInViewport(); await expect.poll(() => thumbnailUtils.locator(page).count()).toBeGreaterThan(0); },