Skip to content

Commit 0f3ebca

Browse files
committed
chore(config): update Playwright config to pipe server output and errors for better logging
1 parent 1ded88f commit 0f3ebca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

playwright.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ export default defineConfig({
1616
url: "http://localhost:3000", // URL to wait for
1717
reuseExistingServer: !process.env.CI, // Reuse server locally, start fresh in CI
1818
timeout: 240 * 1000, // Increase timeout for server start (4 minutes)
19-
stderr: 'inherit', // Show server errors in CI logs
20-
stdout: 'inherit', // Show server output in CI logs
19+
stderr: 'pipe', // Pipe server errors to Playwright process
20+
stdout: 'pipe', // Pipe server output to Playwright process
2121
},
2222
// Optional: Configure projects for major browsers
2323
// projects: [ { name: 'chromium', use: { ...devices['Desktop Chrome'] } } ],

0 commit comments

Comments
 (0)