Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

chore: reset preserveOutput in ui mode (#27944)

Pavel Feldmana55fe8fd1f8d
diff --git a/packages/playwright/src/runner/uiMode.ts b/packages/playwright/src/runner/uiMode.ts
index b9c7c5847f..922aeb2968 100644
--- a/packages/playwright/src/runner/uiMode.ts
+++ b/packages/playwright/src/runner/uiMode.ts
@@ -46,6 +46,7 @@ class UIMode {
process.env.PW_LIVE_TRACE_STACKS = '1';
config.cliListOnly = false;
config.cliPassWithNoTests = true;
+ config.config.preserveOutput = 'always';
for (const p of config.projects) {
p.project.retries = 0;