revert playwright core changes
This commit is contained in:
1 parent
84e14981c2
commit
cf7b722fe6
4 files changed
+1
-12
No files matched your search
@@ -223,7 +223,6 @@ if (isProd && cloudMode) {
|
|||||||
/** @type {import('next').NextConfig} */
|
/** @type {import('next').NextConfig} */
|
||||||
export default withNextIntl({
|
export default withNextIntl({
|
||||||
reactStrictMode: false,
|
reactStrictMode: false,
|
||||||
serverExternalPackages: ['playwright-core'],
|
|
||||||
env: {
|
env: {
|
||||||
apiUrl,
|
apiUrl,
|
||||||
basePath,
|
basePath,
|
||||||
|
|||||||
@@ -99,7 +99,6 @@
|
|||||||
"npm-run-all": "^4.1.5",
|
"npm-run-all": "^4.1.5",
|
||||||
"papaparse": "^5.5.3",
|
"papaparse": "^5.5.3",
|
||||||
"pg": "^8.21.0",
|
"pg": "^8.21.0",
|
||||||
"playwright-core": "^1.60.0",
|
|
||||||
"prisma": "^7.8.0",
|
"prisma": "^7.8.0",
|
||||||
"prop-types": "^15.8.1",
|
"prop-types": "^15.8.1",
|
||||||
"pure-rand": "^8.4.0",
|
"pure-rand": "^8.4.0",
|
||||||
|
|||||||
Generated
-3
@@ -146,9 +146,6 @@ importers:
|
|||||||
pg:
|
pg:
|
||||||
specifier: ^8.21.0
|
specifier: ^8.21.0
|
||||||
version: 8.21.0
|
version: 8.21.0
|
||||||
playwright-core:
|
|
||||||
specifier: ^1.60.0
|
|
||||||
version: 1.60.0
|
|
||||||
prisma:
|
prisma:
|
||||||
specifier: ^7.8.0
|
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)
|
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() {
|
async function createSnapshotBrowser() {
|
||||||
const { chromium } = await import('playwright-core');
|
const { chromium } = await import('@playwright/test');
|
||||||
const endpoint = process.env.PLAYWRIGHT_URL?.trim();
|
|
||||||
|
|
||||||
if (endpoint) {
|
|
||||||
return chromium.connect(endpoint);
|
|
||||||
}
|
|
||||||
|
|
||||||
return chromium.launch({
|
return chromium.launch({
|
||||||
channel: 'chromium',
|
channel: 'chromium',
|
||||||
headless: true,
|
headless: true,
|
||||||
|
|||||||
Reference in new issue
Block a user