Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -273,9 +273,9 @@ jobs:
working-directory: src/Exceptionless.Web/ClientApp.angular
run: npm ci

- name: Install Playwright Chromium
- name: Install Playwright FFmpeg
working-directory: src/Exceptionless.Web/ClientApp
run: npx playwright install chromium --with-deps
run: npx playwright install ffmpeg

- name: Start AppHost
run: |
Expand Down Expand Up @@ -316,6 +316,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
Expand Down
4 changes: 3 additions & 1 deletion src/Exceptionless.Web/ClientApp/playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand All @@ -14,7 +15,8 @@ export default defineConfig({
{
name: 'chromium',
use: {
...devices['Desktop Chrome']
...devices['Desktop Chrome'],
...(browserChannel ? { channel: browserChannel } : {})
}
}
],
Expand Down
Loading