diff --git a/playwright.config.ts b/playwright.config.ts index 6ca511a..7974bc3 100644 --- a/playwright.config.ts +++ b/playwright.config.ts @@ -25,7 +25,7 @@ export default defineConfig({ /* Shared settings for all the projects below. See https://playwright.dev/docs/api/class-testoptions. */ use: { /* Base URL to use in actions like `await page.goto('/')`. */ - baseURL: 'http://127.0.0.1:4321', + baseURL: 'http://localhost:4321', /* Collect trace when retrying the failed test. See https://playwright.dev/docs/trace-viewer */ trace: 'on-first-retry', @@ -72,7 +72,7 @@ export default defineConfig({ /* Run your local dev server before starting the tests */ webServer: { command: 'npm run start', - url: "http://127.0.0.1:4321", - reuseExistingServer: !process.env.CI, + url: 'http://localhost:4321/', + timeout: 120 * 1000 }, });