Skip to content

Commit

Permalink
devops: add headless new to flakiness dashboard (#31381)
Browse files Browse the repository at this point in the history
  • Loading branch information
mxschmitt committed Jun 19, 2024
1 parent ee63843 commit 8ba4cff
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion tests/library/playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,13 @@ for (const browserName of browserNames) {
metadata: {
platform: process.platform,
docker: !!process.env.INSIDE_DOCKER,
headful: !!headed,
headless: (() => {
if (process.env.PLAYWRIGHT_CHROMIUM_USE_HEADLESS_NEW)
return 'headless-new';
if (headed)
return 'headed';
return 'headless';
})(),
browserName,
channel,
mode,
Expand Down

0 comments on commit 8ba4cff

Please sign in to comment.