frontend: Add wait timeout for virtual background application in tests
This commit is contained in:
parent
9ff200fa88
commit
34f50d0dee
@ -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' });
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user