Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
TypeScript automationchromechromiume2e-testingelectronend-to-end-testingfirefoxjavascriptplaywrighttesttest-automationtestingtesting-toolswebwebkit
chore(test-runner): force colors in worker processes (#11799)
Pavel Feldmanceb3027bdffd
diff --git a/packages/playwright-test/src/dispatcher.ts b/packages/playwright-test/src/dispatcher.tsindex a6ec8881c9..1c3b8769bb 100644--- a/packages/playwright-test/src/dispatcher.ts+++ b/packages/playwright-test/src/dispatcher.ts@@ -474,7 +474,7 @@ class Worker extends EventEmitter {this.process = child_process.fork(path.join(__dirname, 'worker.js'), {detached: false,env: {- FORCE_COLOR: process.stdout.isTTY ? '1' : '0',+ FORCE_COLOR: '1',DEBUG_COLORS: process.stdout.isTTY ? '1' : '0',TEST_WORKER_INDEX: String(this.workerIndex),TEST_PARALLEL_INDEX: String(this.parallelIndex),