18 lines
462 B
TypeScript
18 lines
462 B
TypeScript
import { defineConfig } from "@playwright/test";
|
|
|
|
export default defineConfig({
|
|
testDir: "./e2e",
|
|
fullyParallel: true,
|
|
retries: 0,
|
|
use: {
|
|
baseURL: process.env.APP_ORIGIN || "http://localhost:3000",
|
|
trace: "on-first-retry"
|
|
},
|
|
webServer: {
|
|
command: "npm run dev -- --port 3000",
|
|
url: process.env.APP_ORIGIN || "http://localhost:3000",
|
|
reuseExistingServer: true,
|
|
timeout: 120 * 1000
|
|
}
|
|
});
|