From 34f50d0dee7ccca8ce38b950a6d142bc19cafd91 Mon Sep 17 00:00:00 2001 From: Carlos Santos <4a.santos@gmail.com> Date: Wed, 10 Dec 2025 15:58:15 +0100 Subject: [PATCH] frontend: Add wait timeout for virtual background application in tests --- meet-ce/frontend/webcomponent/tests/helpers/function-helpers.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/meet-ce/frontend/webcomponent/tests/helpers/function-helpers.ts b/meet-ce/frontend/webcomponent/tests/helpers/function-helpers.ts index 2a430a7a..82895ed1 100644 --- a/meet-ce/frontend/webcomponent/tests/helpers/function-helpers.ts +++ b/meet-ce/frontend/webcomponent/tests/helpers/function-helpers.ts @@ -324,6 +324,7 @@ export const applyVirtualBackground = async (page: Page, backgroundId: string) = await page.waitForTimeout(500); await interactWithElementInIframe(page, '#virtual-bg-btn', { action: 'click' }); await waitForElementInIframe(page, 'ov-background-effects-panel', { state: 'visible' }); + await page.waitForTimeout(500); await interactWithElementInIframe(page, `#effect-${backgroundId}`, { action: 'click' }); await page.waitForTimeout(2000); // Allow background processing time await interactWithElementInIframe(page, '.panel-close-button', { action: 'click' });