We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a7bbe87 commit 6036b96Copy full SHA for 6036b96
playwright.config.ts
@@ -9,10 +9,10 @@ export default defineConfig({
9
reporter: "html", // Reporter to use
10
use: {
11
baseURL: "http://localhost:3000", // Base URL for actions like page.goto()
12
- trace: "on-first-retry", // Record trace only when retrying a failed test
+ trace: "retain-on-failure", // Record trace if test fails
13
},
14
webServer: {
15
- command: "pnpm start", // Command to start the dev server
+ command: "DEBUG=next:start pnpm start",
16
url: "http://localhost:3000", // URL to wait for
17
reuseExistingServer: !process.env.CI, // Reuse server locally, start fresh in CI
18
timeout: 240 * 1000, // Increase timeout for server start (4 minutes)
0 commit comments