From 174d67cfd827dec95afd8afd606743e1418d5338 Mon Sep 17 00:00:00 2001 From: ISA Date: Mon, 1 Sep 2025 14:33:31 +0200 Subject: [PATCH] =?UTF-8?q?Test:=20In=20K=C3=9C=20RSL:=20Zahl=20mit=203=20?= =?UTF-8?q?Nachkommastellen?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 2 +- .env.production | 2 +- CHANGELOG.md | 5 +++++ package-lock.json | 4 ++-- package.json | 2 +- .../tests/pages/kabelueberwachungTest.ts | 21 +++++++------------ 6 files changed, 18 insertions(+), 18 deletions(-) diff --git a/.env.development b/.env.development index db6da47..a77e963 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.794 +NEXT_PUBLIC_APP_VERSION=1.6.795 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 5569c85..2d77e2d 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.794 +NEXT_PUBLIC_APP_VERSION=1.6.795 NEXT_PUBLIC_CPL_MODE=production \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index ae506d8..22cb3f0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +## [1.6.795] – 2025-09-01 + +- fix: KÜ ISO 2 Nachkommastellen und RSL 3 Nachkommastellen + +--- ## [1.6.794] – 2025-09-01 - fix: System Footer responsive diff --git a/package-lock.json b/package-lock.json index f72b45c..9e7367d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "cpl-v4", - "version": "1.6.794", + "version": "1.6.795", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "cpl-v4", - "version": "1.6.794", + "version": "1.6.795", "dependencies": { "@fontsource/roboto": "^5.1.0", "@headlessui/react": "^2.2.4", diff --git a/package.json b/package.json index a8d54d0..db0872b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cpl-v4", - "version": "1.6.794", + "version": "1.6.795", "private": true, "scripts": { "dev": "next dev -p 3000", diff --git a/playwright/tests/pages/kabelueberwachungTest.ts b/playwright/tests/pages/kabelueberwachungTest.ts index c5412dc..8a631d3 100644 --- a/playwright/tests/pages/kabelueberwachungTest.ts +++ b/playwright/tests/pages/kabelueberwachungTest.ts @@ -104,7 +104,10 @@ export async function runCableMonitoringTest(page: Page) { ); await page.waitForTimeout(400); - await highlightAndExpectVisible(page, page.getByText("RSL: 0 kOhm").first()); + await highlightAndExpectVisible( + page, + page.getByText(/^RSL: \d+,\d{3} kOhm$/).first() + ); await page.waitForTimeout(400); await highlightAndExpectVisible(page, page.getByText("Kabel 1")); @@ -204,23 +207,15 @@ export async function runCableMonitoringTest(page: Page) { ); await page.waitForTimeout(400); - await highlightAndExpectVisible(page, page.getByText("RSL: 0 kOhm").nth(3)); + await highlightAndExpectVisible( + page, + page.getByText(/^RSL: \d+,\d{3} kOhm$/).nth(3) + ); await page.waitForTimeout(400); await highlightAndExpectVisible(page, page.getByText("Kabel 8")); await page.waitForTimeout(400); - await highlightAndExpectVisible( - page, - page - .getByRole("main") - .locator("div") - .filter({ - hasText: - "8KÜ705-FO⚙BetriebAlarmIsolationsfehler ISO: 10 MOhmRSL: 0 kOhmKabel 8V4.", - }) - .nth(2) - ); await page.waitForTimeout(400); await highlightAndExpectVisible(