From 57e5e83d3817b678495cd8de009a9fd4fd66bbc8 Mon Sep 17 00:00:00 2001 From: Tom Koscielniak Date: Wed, 13 Aug 2025 17:18:39 +0200 Subject: [PATCH] playwright: Silence the list reporter in CI to avoid double logging --- playwright.config.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/playwright.config.ts b/playwright.config.ts index c6be20e7..86462ab3 100644 --- a/playwright.config.ts +++ b/playwright.config.ts @@ -5,7 +5,11 @@ import { } from '@playwright/test'; import 'dotenv/config'; -const reporters: ReporterDescription[] = [['html'], ['list']]; +const reporters: ReporterDescription[] = [['html']]; + +if (!process.env.CI) { + reporters.push(['list']); +} if (process.env.CURRENTS_PROJECT_ID && process.env.CURRENTS_RECORD_KEY) { reporters.push(['@currents/playwright']);