Skip to content

Commit

Permalink
Fix e2e docker hang by never opening html playwright report (#793)
Browse files Browse the repository at this point in the history
Ticket
Resolves #788 

## Changes
update base config ./e2e/playwright.config to never open html report
  • Loading branch information
rylew1 authored Nov 26, 2024
1 parent f22ce42 commit b11d951
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion e2e/playwright.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,11 @@ export default defineConfig({
// Opt out of parallel tests on CI.
workers: process.env.CI ? 1 : undefined,
// Use 'blob' for CI to allow merging of reports. See https://playwright.dev/docs/test-reporters
reporter: process.env.CI ? 'blob' : 'html',
reporter: process.env.CI
? [['blob']] :
// Don't open the HTML report since it hangs when running inside a container.
// Use make e2e-show-report for opening the HTML report
[['html', { open: 'never' }]],
// Shared settings for all the projects below. See https://playwright.dev/docs/api/class-testoptions.
use: {
// Base URL to use in actions like `await page.goto('/')`.
Expand Down

0 comments on commit b11d951

Please sign in to comment.