fix: playwright ->npm run dev -p 3000

This commit is contained in:
ISA
2025-08-29 14:22:28 +02:00
parent 5aece28eb1
commit 1d815d4265
7 changed files with 12 additions and 8 deletions

View File

@@ -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.783
NEXT_PUBLIC_APP_VERSION=1.6.784
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_USE_CGI=true
# App-Versionsnummer
NEXT_PUBLIC_APP_VERSION=1.6.783
NEXT_PUBLIC_APP_VERSION=1.6.784
NEXT_PUBLIC_CPL_MODE=production

View File

@@ -29,7 +29,6 @@ steps:
- npx playwright install-deps
- echo "🌱 Starting dev server (npm run dev)..."
- npm run dev &
- echo "⏳ Waiting for dev server to be ready..."
- npx wait-on http://localhost:3000
- echo "🧪 Running Playwright tests (Chromium only)..."
- npx playwright test --project=chromium

View File

@@ -1,3 +1,8 @@
## [1.6.784] 2025-08-29
- fix: woodpecker npm run dev
---
## [1.6.783] 2025-08-29
- playwright: headless:true

4
package-lock.json generated
View File

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

View File

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

View File

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