fix: Die Konfiguration ist jetzt angepasst:

Playwright verwendet immer einen bereits laufenden Dev-Server (reuseExistingServer: true).
Damit gibt es keinen Port-Konflikt mehr,
This commit is contained in:
ISA
2025-08-29 14:31:26 +02:00
parent 1d815d4265
commit 9db92a2728
6 changed files with 12 additions and 7 deletions

View File

@@ -6,6 +6,6 @@ NEXT_PUBLIC_USE_MOCK_BACKEND_LOOP_START=false
NEXT_PUBLIC_EXPORT_STATIC=false NEXT_PUBLIC_EXPORT_STATIC=false
NEXT_PUBLIC_USE_CGI=false NEXT_PUBLIC_USE_CGI=false
# App-Versionsnummer # App-Versionsnummer
NEXT_PUBLIC_APP_VERSION=1.6.784 NEXT_PUBLIC_APP_VERSION=1.6.785
NEXT_PUBLIC_CPL_MODE=json # json (Entwicklungsumgebung) oder jsSimulatedProd (CPL ->CGI-Interface-Simulator) oder production (CPL-> CGI-Interface Platzhalter) NEXT_PUBLIC_CPL_MODE=json # json (Entwicklungsumgebung) oder jsSimulatedProd (CPL ->CGI-Interface-Simulator) oder production (CPL-> CGI-Interface Platzhalter)

View File

@@ -5,5 +5,5 @@ NEXT_PUBLIC_CPL_API_PATH=/CPL
NEXT_PUBLIC_EXPORT_STATIC=true NEXT_PUBLIC_EXPORT_STATIC=true
NEXT_PUBLIC_USE_CGI=true NEXT_PUBLIC_USE_CGI=true
# App-Versionsnummer # App-Versionsnummer
NEXT_PUBLIC_APP_VERSION=1.6.784 NEXT_PUBLIC_APP_VERSION=1.6.785
NEXT_PUBLIC_CPL_MODE=production NEXT_PUBLIC_CPL_MODE=production

View File

@@ -1,3 +1,8 @@
## [1.6.785] 2025-08-29
- fix: playwright ->npm run dev -p 3000
---
## [1.6.784] 2025-08-29 ## [1.6.784] 2025-08-29
- fix: woodpecker npm run dev - fix: woodpecker npm run dev

4
package-lock.json generated
View File

@@ -1,12 +1,12 @@
{ {
"name": "cpl-v4", "name": "cpl-v4",
"version": "1.6.784", "version": "1.6.785",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "cpl-v4", "name": "cpl-v4",
"version": "1.6.784", "version": "1.6.785",
"dependencies": { "dependencies": {
"@fontsource/roboto": "^5.1.0", "@fontsource/roboto": "^5.1.0",
"@headlessui/react": "^2.2.4", "@headlessui/react": "^2.2.4",

View File

@@ -1,6 +1,6 @@
{ {
"name": "cpl-v4", "name": "cpl-v4",
"version": "1.6.784", "version": "1.6.785",
"private": true, "private": true,
"scripts": { "scripts": {
"dev": "next dev", "dev": "next dev",

View File

@@ -33,9 +33,9 @@ export default defineConfig({
projects: [{ name: "chromium", use: { ...devices["Desktop Chrome"] } }], projects: [{ name: "chromium", use: { ...devices["Desktop Chrome"] } }],
webServer: { webServer: {
command: "npm run start -p 3000", command: "npm run dev -p 3000",
url: process.env.E2E_BASE_URL || "http://localhost:3000", url: process.env.E2E_BASE_URL || "http://localhost:3000",
reuseExistingServer: !CI, reuseExistingServer: true,
timeout: 120_000, timeout: 120_000,
}, },
}); });