fix: Ein Abgleich darf natürlich nicht die Seiten blockieren.

This commit is contained in:
ISA
2025-08-20 16:36:05 +02:00
parent 6e98a98670
commit fb36561cb9
13 changed files with 20 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.750 NEXT_PUBLIC_APP_VERSION=1.6.751
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.750 NEXT_PUBLIC_APP_VERSION=1.6.751
NEXT_PUBLIC_CPL_MODE=production NEXT_PUBLIC_CPL_MODE=production

View File

@@ -1,3 +1,8 @@
## [1.6.751] 2025-08-20
- Presentation playwright
---
## [1.6.750] 2025-08-19 ## [1.6.750] 2025-08-19
- feat: light und dark mode Messwerteingänge - feat: light und dark mode Messwerteingänge

BIN
Git 2.pptx Normal file

Binary file not shown.

View File

@@ -19,7 +19,7 @@ def add_slide(title, content_lines):
p.alignment = PP_ALIGN.LEFT p.alignment = PP_ALIGN.LEFT
# Folie 1: Titel # Folie 1: Titel
add_slide("Testing CPL V4 Webserver", ["Von: Ismail Ali", "Datum: 22.08.2025"]) add_slide("Testing CPL V4 Webseiten", ["Von: Ismail Ali", "Datum: 22.08.2025"])
# Folie 2 entfernt # Folie 2 entfernt

View File

@@ -265,11 +265,11 @@ var loopMeasurementEvent = [
]; ];
//Event TDR-Messung //Event TDR-Messung
var tdrMeasurementEvent = [ var tdrMeasurementEvent = [
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
]; ];
//Event Abgleich //Event Abgleich
var alignmentEvent = [ var alignmentEvent = [
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
]; ];

4
package-lock.json generated
View File

@@ -1,12 +1,12 @@
{ {
"name": "cpl-v4", "name": "cpl-v4",
"version": "1.6.750", "version": "1.6.751",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "cpl-v4", "name": "cpl-v4",
"version": "1.6.750", "version": "1.6.751",
"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.750", "version": "1.6.751",
"private": true, "private": true,
"scripts": { "scripts": {
"dev": "next dev", "dev": "next dev",

View File

@@ -13,7 +13,6 @@ import Footer from "@/components/footer/Footer";
import { store } from "@/redux/store"; import { store } from "@/redux/store";
import Script from "next/script"; import Script from "next/script";
import DeviceEventsBridge from "@/components/common/DeviceEventsBridge"; import DeviceEventsBridge from "@/components/common/DeviceEventsBridge";
import GlobalActivityOverlay from "@/components/common/GlobalActivityOverlay";
import { usePathname } from "next/navigation"; import { usePathname } from "next/navigation";
// Thunks importieren // Thunks importieren
@@ -162,10 +161,6 @@ function AppContent({
)} )}
<Component {...pageProps} /> <Component {...pageProps} />
<ToastContainer position="top-right" autoClose={3000} /> <ToastContainer position="top-right" autoClose={3000} />
{/* Hide global overlay on kabelueberwachung page so only per-slot overlays show */}
{pathnameHook?.includes("kabelueberwachung") ? null : (
<GlobalActivityOverlay />
)}
</main> </main>
</div> </div>
<Footer /> <Footer />

View File

@@ -29,8 +29,10 @@ export default defineConfig({
baseURL: "http://localhost:3000", baseURL: "http://localhost:3000",
headless: false, headless: false,
launchOptions: { slowMo: 300 }, launchOptions: { slowMo: 300 },
video: "retain-on-failure", //video: "retain-on-failure",
screenshot: "only-on-failure", video: "on",
//screenshot: "only-on-failure",
screenshot: "on",
/* Collect trace when retrying the failed test. See https://playwright.dev/docs/trace-viewer */ /* Collect trace when retrying the failed test. See https://playwright.dev/docs/trace-viewer */
trace: "on-first-retry", trace: "on-first-retry",

View File

@@ -225,6 +225,6 @@ export async function runDashboardTest(page: Page) {
page.getByRole("heading", { name: "PDF Handbücher" }) page.getByRole("heading", { name: "PDF Handbücher" })
); );
await highlightAndExpectVisible(page, page.getByText("KUE705FO.PDF")); await highlightAndExpectVisible(page, page.getByText("KUE705FO.PDF"));
await highlightAndExpectVisible(page, page.getByRole("button")); //await highlightAndExpectVisible(page, page.getByRole("button"));
await page.getByRole("button").click(); //await page.getByRole("button").click();
} }

View File

@@ -59,7 +59,7 @@ export async function runSettingsPageTest(page: Page) {
page.getByRole("heading", { name: "PDF Handbücher" }) page.getByRole("heading", { name: "PDF Handbücher" })
).toBeVisible(); ).toBeVisible();
await expect(page.getByText("KUE705FO.PDF")).toBeVisible(); await expect(page.getByText("KUE705FO.PDF")).toBeVisible();
await page.getByRole("button").filter({ hasText: /^$/ }).click(); //await page.getByRole("button").filter({ hasText: /^$/ }).click();
await page.getByRole("button", { name: "Allgemeine Einstellungen" }).click(); await page.getByRole("button", { name: "Allgemeine Einstellungen" }).click();
await expect( await expect(
page.getByRole("button", { name: "Allgemeine Einstellungen" }) page.getByRole("button", { name: "Allgemeine Einstellungen" })