diff --git a/playwright.config.ts b/playwright.config.ts index 2aca6d38..da4d213f 100644 --- a/playwright.config.ts +++ b/playwright.config.ts @@ -75,7 +75,7 @@ export default defineConfig({ /* Run your local dev server before starting the tests */ // Multiple web servers (or background processes) can be launched: https://playwright.dev/docs/api/class-testconfig#test-config-web-server webServer: { - command: 'NUXT_HOST="127.0.0.1" NUXT_PORT="3000" npm run dev', + command: "npm run build && cd .output && node ./server/index.mjs", url: "http://127.0.0.1:3000", timeout: 120 * 1000, reuseExistingServer: !process.env.CI,