Playwright: Increase timeout when waiting for app pages (#108296)

increase timeout when waiting for app pages
pull/108295/head
Ashley Harrison 2 days ago committed by GitHub
parent 35884fa9a4
commit 4fb464ccdc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 8
      e2e-playwright/various-suite/frontend-sandbox-app.spec.ts

@ -31,7 +31,7 @@ test.describe(
await expect(sandboxDiv).toBeHidden(); await expect(sandboxDiv).toBeHidden();
const appPage = page.getByTestId('sandbox-app-test-page-one'); 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 }) => { test('Loads the app configuration without the sandbox div wrapper', async ({ page }) => {
@ -41,7 +41,7 @@ test.describe(
await expect(sandboxDiv).toBeHidden(); await expect(sandboxDiv).toBeHidden();
const configPage = page.getByTestId('sandbox-app-test-config-page'); 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(); await expect(sandboxDiv).toBeVisible();
const appPage = page.getByTestId('sandbox-app-test-page-one'); 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 }) => { test('Loads the app configuration with the sandbox div wrapper', async ({ page }) => {
@ -69,7 +69,7 @@ test.describe(
await expect(sandboxDiv).toBeVisible(); await expect(sandboxDiv).toBeVisible();
const configPage = page.getByTestId('sandbox-app-test-config-page'); const configPage = page.getByTestId('sandbox-app-test-config-page');
await expect(configPage).toBeVisible(); await expect(configPage).toBeVisible({ timeout: 10000 });
}); });
}); });
}); });

Loading…
Cancel
Save