File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11import { defineConfig } from '@playwright/test' ;
22
3- // Skip font-ready wait during screenshots to avoid hangs on CI
4- // with pages that have many declarative shadow roots (e.g. tooltip placement demo).
5- // See microsoft/playwright#33330.
6- process . env . PW_TEST_SCREENSHOT_NO_FONTS_READY = '1' ;
7-
83export default defineConfig ( {
94 testMatch : 'elements/**/*.e2e.ts' ,
105 timeout : 120 * 1000 ,
116
12- workers : process . env . CI ? 2 : 8 ,
7+ // Parallel workers deadlock on page.screenshot() in headless Chromium
8+ // when multiple pages capture concurrently (compositor stops producing
9+ // frames). Reproduced in the mcr.microsoft.com/playwright container
10+ // used by CI. See microsoft/playwright#33330.
11+ workers : process . env . CI ? 1 : 8 ,
1312
1413 webServer : process . env . CI ? undefined : {
1514 command : 'npx cem serve --port 8080 --rendering=chromeless' ,
@@ -37,3 +36,4 @@ export default defineConfig({
3736 process . env . CI ? [ 'github' ] : [ 'dot' ] ,
3837 ] ,
3938} ) ;
39+
You can’t perform that action at this time.
0 commit comments