diff --git a/playwright.config.ts b/playwright.config.ts index 7e9952d..444b985 100644 --- a/playwright.config.ts +++ b/playwright.config.ts @@ -4,7 +4,8 @@ export default defineConfig({ use: { baseURL: "http://localhost:4319", trace: "retain-on-failure" }, webServer: { command: process.env.PLAYWRIGHT_EXPORT === "1" ? "node scripts/serve-export.mjs out 4319" : "pnpm dev --port 4319", - url: "http://localhost:4319", + // The first docs request compiles the docs route on the dev server; waiting here keeps that out of test timeouts. + url: "http://localhost:4319/en/docs/installation", reuseExistingServer: false, timeout: 60000, },