diff --git a/.env.development b/.env.development index bfd54c5..85b4fe5 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.846 +NEXT_PUBLIC_APP_VERSION=1.6.847 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 fc01c79..41ded36 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.846 +NEXT_PUBLIC_APP_VERSION=1.6.847 NEXT_PUBLIC_CPL_MODE=production \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 599243b..888d4b8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +## [1.6.847] – 2025-09-05 + +- chore: move playwright components folder to tests + +--- ## [1.6.846] – 2025-09-05 - feat(kue705FO): scrolling für lange Modulnamen (48 Zeichen) + Version-Gate/Env-Override diff --git a/package-lock.json b/package-lock.json index 01f53f8..fb46858 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "cpl-v4", - "version": "1.6.846", + "version": "1.6.847", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "cpl-v4", - "version": "1.6.846", + "version": "1.6.847", "dependencies": { "@fontsource/roboto": "^5.1.0", "@headlessui/react": "^2.2.4", diff --git a/package.json b/package.json index f616fe6..32d0e8f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cpl-v4", - "version": "1.6.846", + "version": "1.6.847", "private": true, "scripts": { "dev": "next dev -p 3000", diff --git a/playwright/tests/all.test.ts b/playwright/tests/orchestrator.test.ts similarity index 100% rename from playwright/tests/all.test.ts rename to playwright/tests/orchestrator.test.ts diff --git a/playwright/tests/pages/kabelueberwachung/kabelueberwachungTest.ts b/playwright/tests/pages/kabelueberwachung/kabelueberwachungTest.ts index bfa529d..92078fb 100644 --- a/playwright/tests/pages/kabelueberwachung/kabelueberwachungTest.ts +++ b/playwright/tests/pages/kabelueberwachung/kabelueberwachungTest.ts @@ -94,7 +94,9 @@ export async function runCableMonitoringTest(page: Page) { ); await page.waitForTimeout(400); - await highlightAndExpectVisible(page, page.getByText("Kabel 1")); + // Use a unique locator to avoid strict mode violation (two elements contain text "Kabel 1"). + // The card exposes a title attribute "Kabel 1", so prefer getByTitle for a single match. + await highlightAndExpectVisible(page, page.getByTitle("Kabel 1").first()); await page.waitForTimeout(400); await highlightAndExpectVisible( @@ -197,7 +199,11 @@ export async function runCableMonitoringTest(page: Page) { ); await page.waitForTimeout(400); - await highlightAndExpectVisible(page, page.getByText("Kabel 8")); + // For cable 8 the UI shows a long name and exposes it via title attribute; target it explicitly + await highlightAndExpectVisible( + page, + page.getByTitle("Kabel_8 in Salzgitter bei Hannover").first() + ); await page.waitForTimeout(400); await page.waitForTimeout(400);