From 3149732f15a5f20d9d1acff0b1a3c36f184b7e47 Mon Sep 17 00:00:00 2001 From: Nassim Tabchiche Date: Thu, 3 Oct 2024 11:06:36 +0200 Subject: [PATCH] Fill search input before checking that loaded library is visible --- frontend/tests/utils/page-content.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/tests/utils/page-content.ts b/frontend/tests/utils/page-content.ts index ba9fe35a9..fc1a768cf 100644 --- a/frontend/tests/utils/page-content.ts +++ b/frontend/tests/utils/page-content.ts @@ -92,6 +92,7 @@ export class PageContent extends BasePage { }); await this.tab('Loaded libraries').click(); expect(this.tab('Loaded libraries').getAttribute('aria-selected')).toBeTruthy(); + this.page.getByTestId('search-input').fill(name); await expect(this.getRow(name)).toBeVisible(); }