Skip to content

Commit 1d8c3b7

Browse files
committed
bump playwright, use more cores to run e2es locally
1 parent f493cb3 commit 1d8c3b7

File tree

3 files changed

+15
-15
lines changed

3 files changed

+15
-15
lines changed

package-lock.json

Lines changed: 12 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080
"@ianvs/prettier-plugin-sort-imports": "^4.4.1",
8181
"@mswjs/http-middleware": "^0.10.3",
8282
"@oxide/openapi-gen-ts": "~0.6.2",
83-
"@playwright/test": "^1.51.1",
83+
"@playwright/test": "^1.52.0",
8484
"@testing-library/dom": "^10.4.0",
8585
"@testing-library/jest-dom": "^6.6.3",
8686
"@testing-library/react": "^16.2.0",

playwright.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ export default {
1717
forbidOnly: !!process.env.CI,
1818
// Retry on CI only
1919
retries: process.env.CI ? 2 : 0,
20-
// use all available cores (2) on github actions. default is 50%, use that locally
21-
workers: process.env.CI ? '100%' : undefined,
20+
// use all available cores (2) on github actions. use fewer locally
21+
workers: process.env.CI ? '100%' : '66%',
2222
timeout: 60 * 1000, // 1 minute
2323
fullyParallel: true,
2424
// default is 5 seconds. somehow playwright really hates async route modules,

0 commit comments

Comments
 (0)