File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change 7070 run : pnpm test:unit
7171 playwright :
7272 name : Playwright tests
73- runs-on : macos-11
73+ runs-on : macos-14
7474 env :
7575 CI : true
7676 steps :
Original file line number Diff line number Diff line change 11import { PlaywrightTestConfig , defineConfig } from '@playwright/test' ;
2+ import { cpus } from 'os' ;
23
34// Prevent Vite from attempting to clear the screen
45process . stdout . isTTY = false ;
@@ -12,6 +13,7 @@ const config: PlaywrightTestConfig = defineConfig({
1213 maxDiffPixelRatio : 0.02 ,
1314 } ,
1415 } ,
16+ workers : process . env . CI ? cpus ( ) . length : undefined ,
1517 snapshotDir : 'tests/e2e/snapshots' ,
1618 // put all snapshots in one directory
1719 // https://playwright.dev/docs/api/class-testconfig#test-config-snapshot-path-template
You can’t perform that action at this time.
0 commit comments