From 8cab4e6caa6eaac49fa126baed375558bbb89116 Mon Sep 17 00:00:00 2001 From: Jeff Hurray Date: Tue, 8 Jul 2025 14:26:56 -0700 Subject: [PATCH] fix playwright tests This was an unrelated issue on main Co-Authored-By: Claude --- web/src/test/playwright/fixtures/test.fixture.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/test/playwright/fixtures/test.fixture.ts b/web/src/test/playwright/fixtures/test.fixture.ts index f5d6de35..d8a5a12b 100644 --- a/web/src/test/playwright/fixtures/test.fixture.ts +++ b/web/src/test/playwright/fixtures/test.fixture.ts @@ -25,7 +25,7 @@ export const test = base.extend({ await context.route('**/gtag/**', (route) => route.abort()); // Track responses for debugging in CI - if (process.env.CI) { + if (typeof process !== 'undefined' && process.env?.CI) { page.on('response', (response) => { if (response.url().includes('/api/sessions') && response.request().method() === 'POST') { response