From 4fb464ccdc135b0b20f12dc241ac0a3cc1dabb36 Mon Sep 17 00:00:00 2001 From: Ashley Harrison Date: Fri, 18 Jul 2025 10:16:49 +0100 Subject: [PATCH] Playwright: Increase timeout when waiting for app pages (#108296) increase timeout when waiting for app pages --- e2e-playwright/various-suite/frontend-sandbox-app.spec.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/e2e-playwright/various-suite/frontend-sandbox-app.spec.ts b/e2e-playwright/various-suite/frontend-sandbox-app.spec.ts index dfa19753b15..6ec59ded434 100644 --- a/e2e-playwright/various-suite/frontend-sandbox-app.spec.ts +++ b/e2e-playwright/various-suite/frontend-sandbox-app.spec.ts @@ -31,7 +31,7 @@ test.describe( await expect(sandboxDiv).toBeHidden(); const appPage = page.getByTestId('sandbox-app-test-page-one'); - await expect(appPage).toBeVisible(); + await expect(appPage).toBeVisible({ timeout: 10000 }); }); test('Loads the app configuration without the sandbox div wrapper', async ({ page }) => { @@ -41,7 +41,7 @@ test.describe( await expect(sandboxDiv).toBeHidden(); const configPage = page.getByTestId('sandbox-app-test-config-page'); - await expect(configPage).toBeVisible(); + await expect(configPage).toBeVisible({ timeout: 10000 }); }); }); @@ -59,7 +59,7 @@ test.describe( await expect(sandboxDiv).toBeVisible(); const appPage = page.getByTestId('sandbox-app-test-page-one'); - await expect(appPage).toBeVisible(); + await expect(appPage).toBeVisible({ timeout: 10000 }); }); test('Loads the app configuration with the sandbox div wrapper', async ({ page }) => { @@ -69,7 +69,7 @@ test.describe( await expect(sandboxDiv).toBeVisible(); const configPage = page.getByTestId('sandbox-app-test-config-page'); - await expect(configPage).toBeVisible(); + await expect(configPage).toBeVisible({ timeout: 10000 }); }); }); });