From 9db92a2728d1af408e3e04f386c26789a511e88e Mon Sep 17 00:00:00 2001 From: ISA Date: Fri, 29 Aug 2025 14:31:26 +0200 Subject: [PATCH] fix: Die Konfiguration ist jetzt angepasst: Playwright verwendet immer einen bereits laufenden Dev-Server (reuseExistingServer: true). Damit gibt es keinen Port-Konflikt mehr, --- .env.development | 2 +- .env.production | 2 +- CHANGELOG.md | 5 +++++ package-lock.json | 4 ++-- package.json | 2 +- playwright.config.ts | 4 ++-- 6 files changed, 12 insertions(+), 7 deletions(-) diff --git a/.env.development b/.env.development index c32ddae..98937cf 100644 --- a/.env.development +++ b/.env.development @@ -6,6 +6,6 @@ NEXT_PUBLIC_USE_MOCK_BACKEND_LOOP_START=false NEXT_PUBLIC_EXPORT_STATIC=false NEXT_PUBLIC_USE_CGI=false # 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) diff --git a/.env.production b/.env.production index 6d263ac..1cfb2c4 100644 --- a/.env.production +++ b/.env.production @@ -5,5 +5,5 @@ NEXT_PUBLIC_CPL_API_PATH=/CPL NEXT_PUBLIC_EXPORT_STATIC=true NEXT_PUBLIC_USE_CGI=true # App-Versionsnummer -NEXT_PUBLIC_APP_VERSION=1.6.784 +NEXT_PUBLIC_APP_VERSION=1.6.785 NEXT_PUBLIC_CPL_MODE=production \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 3744d7d..fb9da9d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +## [1.6.785] – 2025-08-29 + +- fix: playwright ->npm run dev -p 3000 + +--- ## [1.6.784] – 2025-08-29 - fix: woodpecker npm run dev diff --git a/package-lock.json b/package-lock.json index 3f827a7..d1b4d0b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "cpl-v4", - "version": "1.6.784", + "version": "1.6.785", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "cpl-v4", - "version": "1.6.784", + "version": "1.6.785", "dependencies": { "@fontsource/roboto": "^5.1.0", "@headlessui/react": "^2.2.4", diff --git a/package.json b/package.json index 97db9d9..dafc179 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cpl-v4", - "version": "1.6.784", + "version": "1.6.785", "private": true, "scripts": { "dev": "next dev", diff --git a/playwright.config.ts b/playwright.config.ts index da43473..ee2fe73 100644 --- a/playwright.config.ts +++ b/playwright.config.ts @@ -33,9 +33,9 @@ export default defineConfig({ projects: [{ name: "chromium", use: { ...devices["Desktop Chrome"] } }], webServer: { - command: "npm run start -p 3000", + command: "npm run dev -p 3000", url: process.env.E2E_BASE_URL || "http://localhost:3000", - reuseExistingServer: !CI, + reuseExistingServer: true, timeout: 120_000, }, });