diff --git a/packages/react-resizable-panels-website/playwright.config.ts b/packages/react-resizable-panels-website/playwright.config.ts index b3c055d81..f2fa9b5a6 100644 --- a/packages/react-resizable-panels-website/playwright.config.ts +++ b/packages/react-resizable-panels-website/playwright.config.ts @@ -14,10 +14,12 @@ const config: PlaywrightTestConfig = { }, ], reporter: [ - createReplayReporterConfig({ - apiKey: process.env.REPLAY_API_KEY, - upload: true, - }), + process.env.REPLAY_API_KEY + ? createReplayReporterConfig({ + apiKey: process.env.REPLAY_API_KEY, + upload: true, + }) + : ["line"], ], use: { browserName: "chromium",