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) }); })