chore: move playwright components folder to tests
This commit is contained in:
@@ -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.845
|
||||
NEXT_PUBLIC_APP_VERSION=1.6.846
|
||||
NEXT_PUBLIC_CPL_MODE=json # json (Entwicklungsumgebung) oder jsSimulatedProd (CPL ->CGI-Interface-Simulator) oder production (CPL-> CGI-Interface Platzhalter)
|
||||
|
||||
|
||||
@@ -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.845
|
||||
NEXT_PUBLIC_APP_VERSION=1.6.846
|
||||
NEXT_PUBLIC_CPL_MODE=production
|
||||
10
CHANGELOG.md
10
CHANGELOG.md
@@ -1,3 +1,13 @@
|
||||
## [1.6.846] – 2025-09-05
|
||||
|
||||
- feat(kue705FO): scrolling für lange Modulnamen (48 Zeichen) + Version-Gate/Env-Override
|
||||
|
||||
- Unterstützt bis zu 48 Zeichen im Modulnamen; bei Überlänge automatische Laufschrift
|
||||
- Marquee via react-fast-marquee (SSR-sicher per next/dynamic)
|
||||
- Overflow-Erkennung + Tooltip mit vollem Namen
|
||||
- Version-Gate: aktiviert ab V4.30
|
||||
|
||||
---
|
||||
## [1.6.845] – 2025-09-05
|
||||
|
||||
- feat: prepare KÜ 8 for scrolling text
|
||||
|
||||
4
package-lock.json
generated
4
package-lock.json
generated
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "cpl-v4",
|
||||
"version": "1.6.845",
|
||||
"version": "1.6.846",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "cpl-v4",
|
||||
"version": "1.6.845",
|
||||
"version": "1.6.846",
|
||||
"dependencies": {
|
||||
"@fontsource/roboto": "^5.1.0",
|
||||
"@headlessui/react": "^2.2.4",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "cpl-v4",
|
||||
"version": "1.6.845",
|
||||
"version": "1.6.846",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"dev": "next dev -p 3000",
|
||||
|
||||
@@ -1,6 +0,0 @@
|
||||
import { test } from "@playwright/test";
|
||||
import { runAnalogInputsTest } from "../tests/pages/analogInputs/analogInputsTest";
|
||||
|
||||
test("analog inputs page", async ({ page }) => {
|
||||
await runAnalogInputsTest(page);
|
||||
});
|
||||
@@ -1,6 +0,0 @@
|
||||
import { test } from "@playwright/test";
|
||||
import { runDashboardTest } from "../tests/pages/dashboard/dashboardTest";
|
||||
|
||||
test("dashboard page", async ({ page }) => {
|
||||
await runDashboardTest(page);
|
||||
});
|
||||
@@ -1,6 +0,0 @@
|
||||
import { test } from "@playwright/test";
|
||||
import { runDigitalInputsTest } from "../tests/pages/digitalInputs/digitalInputsTest";
|
||||
|
||||
test("digital inputs page", async ({ page }) => {
|
||||
await runDigitalInputsTest(page);
|
||||
});
|
||||
@@ -1,6 +0,0 @@
|
||||
import { test } from "@playwright/test";
|
||||
import { runDigitalOutputsTest } from "../tests/pages/digitalOutputs/digitalOutputsTest";
|
||||
|
||||
test("digital outputs page", async ({ page }) => {
|
||||
await runDigitalOutputsTest(page);
|
||||
});
|
||||
@@ -1,6 +0,0 @@
|
||||
import { test } from "@playwright/test";
|
||||
import { runSettingsPageTest } from "../tests/pages/settingsPage/settingsPageTest";
|
||||
|
||||
test("einstellungen page", async ({ page }) => {
|
||||
await runSettingsPageTest(page);
|
||||
});
|
||||
@@ -1,5 +0,0 @@
|
||||
import { test } from "@playwright/test";
|
||||
|
||||
test("index page", async ({ page }) => {
|
||||
await page.goto("/");
|
||||
});
|
||||
@@ -1,6 +0,0 @@
|
||||
import { test } from "@playwright/test";
|
||||
import { runCableMonitoringTest } from "../tests/pages/kabelueberwachung/kabelueberwachungTest";
|
||||
|
||||
test("kabelueberwachung page", async ({ page }) => {
|
||||
await runCableMonitoringTest(page);
|
||||
});
|
||||
@@ -1,6 +0,0 @@
|
||||
import { test } from "@playwright/test";
|
||||
import { runMeldungenTest } from "../tests/pages/meldungen/meldungenTest";
|
||||
|
||||
test("meldungen page", async ({ page }) => {
|
||||
await runMeldungenTest(page);
|
||||
});
|
||||
@@ -1,6 +0,0 @@
|
||||
import { test } from "@playwright/test";
|
||||
import { runSystemTest } from "../tests/pages/system/systemTest";
|
||||
|
||||
test("system page", async ({ page }) => {
|
||||
await runSystemTest(page);
|
||||
});
|
||||
@@ -1,5 +0,0 @@
|
||||
import { test } from "@playwright/test";
|
||||
|
||||
test("zutrittskontrolle page", async ({ page }) => {
|
||||
await page.goto("/zutrittskontrolle");
|
||||
});
|
||||
@@ -1,9 +1,9 @@
|
||||
import type { Page } from "@playwright/test";
|
||||
import { expect } from "@playwright/test";
|
||||
import { highlightAndExpectVisible } from "@playwright/utils/highlight";
|
||||
import { navTest } from "@/playwright/components/navigation/navTest";
|
||||
import { headerTest } from "@/playwright/components/header/headerTest";
|
||||
import { footerTest } from "@/playwright/components/footer/footerTest";
|
||||
import { navTest } from "@/playwright/tests/components/navigation/navTest";
|
||||
import { headerTest } from "@/playwright/tests/components/header/headerTest";
|
||||
import { footerTest } from "@/playwright/tests/components/footer/footerTest";
|
||||
|
||||
// Kombinierte Helper-Funktion: injiziert CSS (nur einmal), hebt hervor und prüft Sichtbarkeit
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
import type { Page } from "@playwright/test";
|
||||
import { highlightAndExpectVisible } from "@playwright/utils/highlight";
|
||||
import { navTest } from "@/playwright/components/navigation/navTest";
|
||||
import { headerTest } from "@/playwright/components/header/headerTest";
|
||||
import { footerTest } from "@/playwright/components/footer/footerTest";
|
||||
import { navTest } from "@/playwright/tests/components/navigation/navTest";
|
||||
import { headerTest } from "@/playwright/tests/components/header/headerTest";
|
||||
import { footerTest } from "@/playwright/tests/components/footer/footerTest";
|
||||
|
||||
export async function runDashboardTest(page: Page) {
|
||||
await page.goto("/dashboard");
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
import type { Page } from "@playwright/test";
|
||||
import { highlightAndExpectVisible } from "@playwright/utils/highlight";
|
||||
import { navTest } from "@/playwright/components/navigation/navTest";
|
||||
import { headerTest } from "@/playwright/components/header/headerTest";
|
||||
import { footerTest } from "@/playwright/components/footer/footerTest";
|
||||
import { navTest } from "@/playwright/tests/components/navigation/navTest";
|
||||
import { headerTest } from "@/playwright/tests/components/header/headerTest";
|
||||
import { footerTest } from "@/playwright/tests/components/footer/footerTest";
|
||||
|
||||
export async function runDigitalInputsTest(page: Page) {
|
||||
await page.goto("/digitalInputs");
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
import type { Page } from "@playwright/test";
|
||||
import { highlightAndExpectVisible } from "@playwright/utils/highlight";
|
||||
import { navTest } from "@/playwright/components/navigation/navTest";
|
||||
import { headerTest } from "@/playwright/components/header/headerTest";
|
||||
import { footerTest } from "@/playwright/components/footer/footerTest";
|
||||
import { navTest } from "@/playwright/tests/components/navigation/navTest";
|
||||
import { headerTest } from "@/playwright/tests/components/header/headerTest";
|
||||
import { footerTest } from "@/playwright/tests/components/footer/footerTest";
|
||||
|
||||
export async function runDigitalOutputsTest(page: Page) {
|
||||
await page.goto("/digitalOutputs");
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
import type { Page } from "@playwright/test";
|
||||
import { highlightAndExpectVisible } from "@playwright/utils/highlight";
|
||||
import { navTest } from "@/playwright/components/navigation/navTest";
|
||||
import { headerTest } from "@/playwright/components/header/headerTest";
|
||||
import { footerTest } from "@/playwright/components/footer/footerTest";
|
||||
import { navTest } from "@/playwright/tests/components/navigation/navTest";
|
||||
import { headerTest } from "@/playwright/tests/components/header/headerTest";
|
||||
import { footerTest } from "@/playwright/tests/components/footer/footerTest";
|
||||
|
||||
export async function runCableMonitoringTest(page: Page) {
|
||||
await page.goto("/kabelueberwachung");
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
import type { Page } from "@playwright/test";
|
||||
import { highlightAndExpectVisible } from "@playwright/utils/highlight";
|
||||
import { navTest } from "@/playwright/components/navigation/navTest";
|
||||
import { headerTest } from "@/playwright/components/header/headerTest";
|
||||
import { footerTest } from "@/playwright/components/footer/footerTest";
|
||||
import { navTest } from "@/playwright/tests/components/navigation/navTest";
|
||||
import { headerTest } from "@/playwright/tests/components/header/headerTest";
|
||||
import { footerTest } from "@/playwright/tests/components/footer/footerTest";
|
||||
|
||||
export async function runMeldungenTest(page: Page) {
|
||||
await page.goto("/meldungen");
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
import type { Page } from "@playwright/test";
|
||||
import { highlightAndExpectVisible } from "@playwright/utils/highlight";
|
||||
import { navTest } from "@/playwright/components/navigation/navTest";
|
||||
import { headerTest } from "@/playwright/components/header/headerTest";
|
||||
import { footerTest } from "@/playwright/components/footer/footerTest";
|
||||
import { navTest } from "@/playwright/tests/components/navigation/navTest";
|
||||
import { headerTest } from "@/playwright/tests/components/header/headerTest";
|
||||
import { footerTest } from "@/playwright/tests/components/footer/footerTest";
|
||||
|
||||
export async function runSettingsPageTest(page: Page) {
|
||||
await page.goto("/einstellungen");
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
import type { Page } from "@playwright/test";
|
||||
import { highlightAndExpectVisible } from "@playwright/utils/highlight";
|
||||
import { navTest } from "@/playwright/components/navigation/navTest";
|
||||
import { headerTest } from "@/playwright/components/header/headerTest";
|
||||
import { footerTest } from "@/playwright/components/footer/footerTest";
|
||||
import { navTest } from "@/playwright/tests/components/navigation/navTest";
|
||||
import { headerTest } from "@/playwright/tests/components/header/headerTest";
|
||||
import { footerTest } from "@/playwright/tests/components/footer/footerTest";
|
||||
|
||||
export async function runSystemTest(page: Page) {
|
||||
await page.goto("/system");
|
||||
|
||||
Reference in New Issue
Block a user