From 629ccf3216eedefec56e95a8dd2dff36388b2db9 Mon Sep 17 00:00:00 2001 From: "Eric J. Smith" Date: Mon, 17 Aug 2026 21:23:12 -0500 Subject: [PATCH 1/2] Use preinstalled Chrome for E2E tests --- .github/workflows/build.yaml | 5 +---- src/Exceptionless.Web/ClientApp/playwright.config.ts | 4 +++- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 21ecd0eab3..cad0d15a01 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -273,10 +273,6 @@ jobs: working-directory: src/Exceptionless.Web/ClientApp.angular run: npm ci - - name: Install Playwright Chromium - working-directory: src/Exceptionless.Web/ClientApp - run: npx playwright install chromium --with-deps - - name: Start AppHost run: | aspire run --non-interactive --nologo -- --ci-e2e > aspire-run.log 2>&1 & @@ -316,6 +312,7 @@ jobs: - name: Run Playwright E2E Tests working-directory: src/Exceptionless.Web/ClientApp env: + E2E_BROWSER_CHANNEL: chrome E2E_URL: https://web-ex.dev.localhost:7131 E2E_RUN_ID: ci-${{ github.run_id }}-${{ github.run_attempt }} run: npm run test:e2e:ci diff --git a/src/Exceptionless.Web/ClientApp/playwright.config.ts b/src/Exceptionless.Web/ClientApp/playwright.config.ts index 80170cf9c0..3449c239ee 100644 --- a/src/Exceptionless.Web/ClientApp/playwright.config.ts +++ b/src/Exceptionless.Web/ClientApp/playwright.config.ts @@ -2,6 +2,7 @@ import { defineConfig, devices } from '@playwright/test'; const isCi = !!process.env.CI; const appUrl = process.env.E2E_URL || 'https://web-ex.dev.localhost:7131'; +const browserChannel = process.env.E2E_BROWSER_CHANNEL; export default defineConfig({ expect: { @@ -14,7 +15,8 @@ export default defineConfig({ { name: 'chromium', use: { - ...devices['Desktop Chrome'] + ...devices['Desktop Chrome'], + ...(browserChannel ? { channel: browserChannel } : {}) } } ], From 817597f97ef7abf83e0f4d1be311cf52297f9c77 Mon Sep 17 00:00:00 2001 From: "Eric J. Smith" Date: Mon, 17 Aug 2026 22:29:18 -0500 Subject: [PATCH 2/2] Install Playwright FFmpeg for E2E videos --- .github/workflows/build.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index cad0d15a01..d0a4449c46 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -273,6 +273,10 @@ jobs: working-directory: src/Exceptionless.Web/ClientApp.angular run: npm ci + - name: Install Playwright FFmpeg + working-directory: src/Exceptionless.Web/ClientApp + run: npx playwright install ffmpeg + - name: Start AppHost run: | aspire run --non-interactive --nologo -- --ci-e2e > aspire-run.log 2>&1 &