From f62ad9185b625d132b6a596b9f9478a8a50f5b31 Mon Sep 17 00:00:00 2001 From: Arnaud Date: Wed, 20 Nov 2024 15:26:37 +0100 Subject: [PATCH] Increase timeout when checking marketplace --- e2e/onboarding.spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/e2e/onboarding.spec.ts b/e2e/onboarding.spec.ts index f4e182f..728fd15 100644 --- a/e2e/onboarding.spec.ts +++ b/e2e/onboarding.spec.ts @@ -24,7 +24,7 @@ test.describe('onboarding', () => { await expect(page.locator(".health-checks ul li").nth(2).getByTestId("icon-success")).toBeVisible() // Marketplace - await expect(page.locator(".health-checks ul li").nth(3).getByTestId("icon-warning")).toBeVisible() + await expect(page.locator(".health-checks ul li").nth(3).getByTestId("icon-warning")).toBeVisible({ timeout: 10_000 }) await expect(page.locator(".health-checks ul li").nth(3).getByTestId("icon-success")).not.toBeVisible() // Can be simulated with File -> Work offline @@ -37,7 +37,7 @@ test.describe('onboarding', () => { } }); - test.beforeEach(async ({ page }) => { + test.beforeEach(async ({ page }, testInfo) => { await page.context().setOffline(false) }); })