playwright.config.ts: Start dev server automatically

This commit is contained in:
Marc Abramowitz 2025-06-17 20:18:32 -07:00
commit 8b1faf110c

View file

@ -4,6 +4,14 @@ import { defineConfig, devices } from "@playwright/test";
* @see https://playwright.dev/docs/test-configuration
*/
export default defineConfig({
/* Run your local dev server before starting the tests */
webServer: {
cwd: '..',
command: 'npm run dev',
url: 'http://localhost:6274',
reuseExistingServer: !process.env.CI,
},
testDir: "./e2e",
/* Run tests in files in parallel */
fullyParallel: true,