Skip to content

Commit 4caf92c

Browse files
author
Luca Forstner
authored
ci(e2e): Use react beta for Next.js canary tests (#12186)
1 parent a0332fa commit 4caf92c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dev-packages/e2e-tests/test-applications/nextjs-14/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"test:prod": "TEST_ENV=production playwright test",
99
"test:dev": "TEST_ENV=development playwright test",
1010
"test:build": "pnpm install && npx playwright install && pnpm build",
11-
"test:build-canary": "pnpm install && pnpm add next@canary && npx playwright install && pnpm build",
11+
"test:build-canary": "pnpm install && pnpm add next@canary && pnpm add react@beta && pnpm add react-dom@beta && npx playwright install && pnpm build",
1212
"test:build-latest": "pnpm install && pnpm add next@latest && npx playwright install && pnpm build",
1313
"test:assert": "pnpm test:prod && pnpm test:dev"
1414
},

dev-packages/e2e-tests/test-applications/nextjs-app-dir/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"test:dev": "TEST_ENV=development playwright test",
1010
"test:build": "pnpm install && npx playwright install && pnpm build",
1111
"test:test-build": "pnpm ts-node --script-mode assert-build.ts",
12-
"test:build-canary": "pnpm install && pnpm add next@canary && npx playwright install && pnpm build",
12+
"test:build-canary": "pnpm install && pnpm add next@canary && pnpm add react@beta && pnpm add react-dom@beta && npx playwright install && pnpm build",
1313
"test:build-latest": "pnpm install && pnpm add next@latest && npx playwright install && pnpm build",
1414
"test:build-13": "pnpm install && pnpm add [email protected] && npx playwright install && pnpm build",
1515
"test:assert": "pnpm test:test-build && pnpm test:prod && pnpm test:dev"

0 commit comments

Comments
 (0)