Test: In KÜ RSL: Zahl mit 3 Nachkommastellen

This commit is contained in:
ISA
2025-09-01 14:33:31 +02:00
parent 57baca292a
commit 174d67cfd8
6 changed files with 18 additions and 18 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.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) 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.794 NEXT_PUBLIC_APP_VERSION=1.6.795
NEXT_PUBLIC_CPL_MODE=production NEXT_PUBLIC_CPL_MODE=production

View File

@@ -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 ## [1.6.794] 2025-09-01
- fix: System Footer responsive - fix: System Footer responsive

4
package-lock.json generated
View File

@@ -1,12 +1,12 @@
{ {
"name": "cpl-v4", "name": "cpl-v4",
"version": "1.6.794", "version": "1.6.795",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "cpl-v4", "name": "cpl-v4",
"version": "1.6.794", "version": "1.6.795",
"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.794", "version": "1.6.795",
"private": true, "private": true,
"scripts": { "scripts": {
"dev": "next dev -p 3000", "dev": "next dev -p 3000",

View File

@@ -104,7 +104,10 @@ export async function runCableMonitoringTest(page: Page) {
); );
await page.waitForTimeout(400); 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 page.waitForTimeout(400);
await highlightAndExpectVisible(page, page.getByText("Kabel 1")); await highlightAndExpectVisible(page, page.getByText("Kabel 1"));
@@ -204,23 +207,15 @@ export async function runCableMonitoringTest(page: Page) {
); );
await page.waitForTimeout(400); 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 page.waitForTimeout(400);
await highlightAndExpectVisible(page, page.getByText("Kabel 8")); await highlightAndExpectVisible(page, page.getByText("Kabel 8"));
await page.waitForTimeout(400); 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 page.waitForTimeout(400);
await highlightAndExpectVisible( await highlightAndExpectVisible(