From 6b478924b25768dfea304ec3b8273b8316903304 Mon Sep 17 00:00:00 2001 From: bo0tzz Date: Fri, 28 Aug 2026 12:45:13 +0200 Subject: [PATCH] fix(e2e): wait out the duplicate #asset-grid during navigation (#31088) --- e2e/src/ui/specs/timeline/utils.ts | 1 + 1 file changed, 1 insertion(+) 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); },