Skip to content

Commit 2ecf216

Browse files
committed
[ci] Try to make playground e2e tests less flaky
Not sure when this happened but the playground tests have gotten a little bit flaky. I suspect it's because of timeouts since it happens randomly so let's see if this helps.
1 parent e4456cb commit 2ecf216

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

compiler/apps/playground/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"vercel-build": "yarn build",
1313
"start": "next start",
1414
"lint": "next lint",
15-
"test": "playwright test"
15+
"test": "playwright test --workers 6"
1616
},
1717
"dependencies": {
1818
"@babel/core": "^7.18.9",

compiler/apps/playground/playwright.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ const baseURL = `http://localhost:${PORT}`;
1717
// Reference: https://playwright.dev/docs/test-configuration
1818
export default defineConfig({
1919
// Timeout per test
20-
timeout: 30 * 1000,
20+
timeout: 60 * 1000,
2121
// Run all tests in parallel.
2222
fullyParallel: true,
2323
// Test directory

0 commit comments

Comments
 (0)