diff --git a/frontend/webcomponent/playwright.config.ts b/frontend/webcomponent/playwright.config.ts index d1cb341..dfa4d95 100644 --- a/frontend/webcomponent/playwright.config.ts +++ b/frontend/webcomponent/playwright.config.ts @@ -3,7 +3,7 @@ import { RUN_MODE } from './tests/config'; export default defineConfig({ testDir: './tests/e2e', - timeout: 30000, + timeout: 60000, retries: 0, workers: 1, fullyParallel: false, diff --git a/frontend/webcomponent/tests/helpers/function-helpers.ts b/frontend/webcomponent/tests/helpers/function-helpers.ts index edc65eb..738719e 100644 --- a/frontend/webcomponent/tests/helpers/function-helpers.ts +++ b/frontend/webcomponent/tests/helpers/function-helpers.ts @@ -78,11 +78,9 @@ export async function interactWithElementInIframe( // Perform the specified action switch (action) { case 'click': - await expect(element).toBeVisible({ timeout }); await element.click(); break; case 'fill': - await expect(element).toBeVisible({ timeout }); await element.fill(value); break; default: @@ -289,7 +287,6 @@ export const applyVirtualBackground = async (page: Page, backgroundId: string) = await page.waitForTimeout(2000); // Allow background processing time await interactWithElementInIframe(page, '.panel-close-button', { action: 'click' }); await page.waitForTimeout(1000); // Wait panel to close - }; export const removeVirtualBackground = async (page: Page) => {