From b108d63106b59a161a53d36cdd0d27788b4267f6 Mon Sep 17 00:00:00 2001 From: ISA Date: Mon, 1 Sep 2025 16:04:38 +0200 Subject: [PATCH] test: woodpecker dev mode --- .env.development | 2 +- .env.production | 2 +- .woodpecker.yml | 20 +++++++++++-------- CHANGELOG.md | 5 +++++ .../LoopChartActionBar.tsx | 2 +- docs/TODO.md | 10 ++++++++++ .../SERVICE/SystemMockData.js | 2 +- package-lock.json | 4 ++-- package.json | 2 +- 9 files changed, 34 insertions(+), 15 deletions(-) diff --git a/.env.development b/.env.development index 4adba70..dd8d261 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.797 +NEXT_PUBLIC_APP_VERSION=1.6.798 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 784de3c..4ce1465 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.797 +NEXT_PUBLIC_APP_VERSION=1.6.798 NEXT_PUBLIC_CPL_MODE=production \ No newline at end of file diff --git a/.woodpecker.yml b/.woodpecker.yml index 12792e4..6927e50 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -1,29 +1,33 @@ # .woodpecker.yml -# Woodpecker-Pipeline für Playwright 1.54.2 (Next.js + webServer in playwright.config.ts) +# Next.js + Playwright im DEV-Modus (webServer aus playwright.config.ts) clone: git: image: woodpeckerci/plugin-git settings: - depth: 0 # vollständiger Clone (kein shallow) - lfs: true # Git LFS mitziehen (falls verwendet) - submodules: true # Submodule initialisieren (falls verwendet) + depth: 0 + lfs: true + submodules: true when: - event: push - event: pull_request steps: - - name: e2e-tests - # Image MUSS zur installierten Playwright-Version passen! - # Prüfe deine package.json (playwright / @playwright/test) – hier 1.54.2 + - name: e2e-dev + # Image-Version MUSS zu deiner @playwright/test-Version passen! + # Falls dein package.json 1.54.x nutzt, ist dieses Image korrekt: image: mcr.microsoft.com/playwright:v1.54.2-jammy environment: CI: "true" + NODE_ENV: "development" + NEXT_TELEMETRY_DISABLED: "1" TZ: "Europe/Berlin" LANG: "C.UTF-8" + # Falls dein webServer auf 3000 hört: + PORT: "3000" commands: - node -v && npm -v - npm ci - # Dev-Server NICHT manuell starten – Playwright webServer macht das + # KEIN manueller Serverstart hier – Playwright webServer übernimmt das! - npx playwright test --project=chromium diff --git a/CHANGELOG.md b/CHANGELOG.md index 65bbcf1..c75f49f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +## [1.6.798] – 2025-09-01 + +- test: .woodpecker + +--- ## [1.6.797] – 2025-09-01 - Test: .woodpecker.yml diff --git a/components/main/kabelueberwachung/kue705FO/Charts/LoopMeasurementChart/LoopChartActionBar.tsx b/components/main/kabelueberwachung/kue705FO/Charts/LoopMeasurementChart/LoopChartActionBar.tsx index 4b5f7ab..c804c9a 100644 --- a/components/main/kabelueberwachung/kue705FO/Charts/LoopMeasurementChart/LoopChartActionBar.tsx +++ b/components/main/kabelueberwachung/kue705FO/Charts/LoopMeasurementChart/LoopChartActionBar.tsx @@ -373,7 +373,7 @@ const LoopChartActionBar = forwardRef((_props, ref) => { className="px-4 py-1 bg-littwin-blue text-white rounded text-sm whitespace-nowrap" disabled={isLoading || rslRunning} > - {rslRunning ? "RSL läuft..." : "RSL starten"} + {rslRunning ? "RSL läuft..." : "RSL Messung starten"}