diff --git a/frontend/test/playwright/visual-regression/components/global-audio-player.spec.ts b/frontend/test/playwright/visual-regression/components/global-audio-player.spec.ts index 84c986b95ba..0777a185716 100644 --- a/frontend/test/playwright/visual-regression/components/global-audio-player.spec.ts +++ b/frontend/test/playwright/visual-regression/components/global-audio-player.spec.ts @@ -29,6 +29,9 @@ for (const dir of languageDirections) { .click() // To make the tests consistent, set the played area to the same position await page.mouse.click(170, 650) + // Allow audio to buffer to the seeked position + // eslint-disable-next-line playwright/no-networkidle + await page.waitForLoadState("networkidle") await expectSnapshot(`global-audio-player-on-search-${dir}.png`, page) }) })