diff --git a/apps/smart-forms-app/playwright.config.ts b/apps/smart-forms-app/playwright.config.ts index 611b1a7e..84c2031f 100644 --- a/apps/smart-forms-app/playwright.config.ts +++ b/apps/smart-forms-app/playwright.config.ts @@ -71,7 +71,7 @@ export default defineConfig({ /* Run your local dev server before starting the tests */ webServer: { - command: 'npm run start', + command: 'npm run build && npm run preview', url: 'http://localhost:4173', reuseExistingServer: !process.env.CI }