From a97b74a8cd8633c87ab098dfd337689841f7ffca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateusz=20Burzy=C5=84ski?= Date: Thu, 2 May 2024 16:14:49 +0200 Subject: [PATCH 1/2] Avoid recording on forks --- .../playwright.config.ts | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/packages/react-resizable-panels-website/playwright.config.ts b/packages/react-resizable-panels-website/playwright.config.ts index fe3ba7920..7f9847167 100644 --- a/packages/react-resizable-panels-website/playwright.config.ts +++ b/packages/react-resizable-panels-website/playwright.config.ts @@ -14,11 +14,13 @@ const config: PlaywrightTestConfig = { }, ], reporter: [ - // @ts-ignore - createReplayReporterConfig({ - apiKey: process.env.REPLAY_API_KEY, - upload: true, - }), + process.env.REPLAY_API_KEY + ? // @ts-ignore + createReplayReporterConfig({ + apiKey: process.env.REPLAY_API_KEY, + upload: true, + }) + : ["line"], ], use: { browserName: "chromium", From c65529b74b7cb7fd27fc91f2c3e74b6377f1fb19 Mon Sep 17 00:00:00 2001 From: Brian Vaughn Date: Thu, 2 May 2024 10:19:43 -0400 Subject: [PATCH 2/2] Merge conflict --- packages/react-resizable-panels-website/playwright.config.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/react-resizable-panels-website/playwright.config.ts b/packages/react-resizable-panels-website/playwright.config.ts index 7f9847167..f2fa9b5a6 100644 --- a/packages/react-resizable-panels-website/playwright.config.ts +++ b/packages/react-resizable-panels-website/playwright.config.ts @@ -15,8 +15,7 @@ const config: PlaywrightTestConfig = { ], reporter: [ process.env.REPLAY_API_KEY - ? // @ts-ignore - createReplayReporterConfig({ + ? createReplayReporterConfig({ apiKey: process.env.REPLAY_API_KEY, upload: true, })