revert playwright core changes

This commit is contained in:
Francis Cao
2026-05-27 16:21:31 -07:00
parent 84e14981c2
commit cf7b722fe6
4 changed files with 1 additions and 12 deletions
-1
View File
@@ -223,7 +223,6 @@ if (isProd && cloudMode) {
/** @type {import('next').NextConfig} */
export default withNextIntl({
reactStrictMode: false,
serverExternalPackages: ['playwright-core'],
env: {
apiUrl,
basePath,
-1
View File
@@ -99,7 +99,6 @@
"npm-run-all": "^4.1.5",
"papaparse": "^5.5.3",
"pg": "^8.21.0",
"playwright-core": "^1.60.0",
"prisma": "^7.8.0",
"prop-types": "^15.8.1",
"pure-rand": "^8.4.0",
-3
View File
@@ -146,9 +146,6 @@ importers:
pg:
specifier: ^8.21.0
version: 8.21.0
playwright-core:
specifier: ^1.60.0
version: 1.60.0
prisma:
specifier: ^7.8.0
version: 7.8.0(@types/react-dom@19.2.3(@types/react@19.2.14))(@types/react@19.2.14)(react-dom@19.2.6(react@19.2.6))(react@19.2.6)(typescript@6.0.3)
@@ -578,13 +578,7 @@ function getSnapshotErrorMessage(error: unknown) {
}
async function createSnapshotBrowser() {
const { chromium } = await import('playwright-core');
const endpoint = process.env.PLAYWRIGHT_URL?.trim();
if (endpoint) {
return chromium.connect(endpoint);
}
const { chromium } = await import('@playwright/test');
return chromium.launch({
channel: 'chromium',
headless: true,