diff --git a/e2e/boot.spec.ts b/e2e/boot.spec.ts index f8854dcb1..1436adf71 100644 --- a/e2e/boot.spec.ts +++ b/e2e/boot.spec.ts @@ -55,6 +55,7 @@ test("a rejected boot shows Chinese diagnostics without application modules", as }); test("a slow module load succeeds before the deadline and cancels the startup timer", async ({ page }) => { + test.setTimeout(60_000); await page.clock.install(); await page.addInitScript(() => { new MutationObserver((records) => { @@ -80,7 +81,7 @@ test("a slow module load succeeds before the deadline and cancels the startup ti await page.clock.runFor(15_000); await expect(page.locator("#boot-error")).toHaveCount(0); release(); - await expect(page.locator("#root")).not.toBeEmpty(); + await expect(page.locator("#root")).not.toBeEmpty({ timeout: test.info().timeout }); await page.clock.runFor(4000); await expect(page.locator("#splash")).toHaveCount(0); await page.clock.runFor(50_000);