refactoring: test files

This commit is contained in:
ISA
2025-09-03 15:07:57 +02:00
parent 2c92ca0866
commit 11bd68200b
16 changed files with 30 additions and 25 deletions

View File

@@ -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.830
NEXT_PUBLIC_APP_VERSION=1.6.831
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_USE_CGI=true
# App-Versionsnummer
NEXT_PUBLIC_APP_VERSION=1.6.830
NEXT_PUBLIC_APP_VERSION=1.6.831
NEXT_PUBLIC_CPL_MODE=production

View File

@@ -1,3 +1,8 @@
## [1.6.831] 2025-09-03
- fix: DigitalOutputsVies.tsx
---
## [1.6.830] 2025-09-03
- feat: Messverlauf bei Systemwerten (Temperatur und Spannungen) mit Datumsauswahl

View File

@@ -1,9 +1,9 @@
{
"win_da_state": [
1,
1,
1,
1
0,
0,
0,
0
],
"win_da_bezeichnung": [
"Ausgang1",

4
package-lock.json generated
View File

@@ -1,12 +1,12 @@
{
"name": "cpl-v4",
"version": "1.6.830",
"version": "1.6.831",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "cpl-v4",
"version": "1.6.830",
"version": "1.6.831",
"dependencies": {
"@fontsource/roboto": "^5.1.0",
"@headlessui/react": "^2.2.4",

View File

@@ -1,6 +1,6 @@
{
"name": "cpl-v4",
"version": "1.6.830",
"version": "1.6.831",
"private": true,
"scripts": {
"dev": "next dev -p 3000",

View File

@@ -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/navTest";
import { navTest } from "@/playwright/components/navigation/navTest";
import { headerTest } from "@/playwright/components/header/headerTest";
import { footerTest } from "@playwright/components/footerTest";
import { footerTest } from "@/playwright/components/footer/footerTest";
// Kombinierte Helper-Funktion: injiziert CSS (nur einmal), hebt hervor und prüft Sichtbarkeit

View File

@@ -1,8 +1,8 @@
import type { Page } from "@playwright/test";
import { highlightAndExpectVisible } from "@playwright/utils/highlight";
import { navTest } from "@playwright/components/navTest";
import { navTest } from "@/playwright/components/navigation/navTest";
import { headerTest } from "@/playwright/components/header/headerTest";
import { footerTest } from "@playwright/components/footerTest";
import { footerTest } from "@/playwright/components/footer/footerTest";
export async function runDashboardTest(page: Page) {
await page.goto("/dashboard");

View File

@@ -1,8 +1,8 @@
import type { Page } from "@playwright/test";
import { highlightAndExpectVisible } from "@playwright/utils/highlight";
import { navTest } from "@playwright/components/navTest";
import { navTest } from "@/playwright/components/navigation/navTest";
import { headerTest } from "@/playwright/components/header/headerTest";
import { footerTest } from "@playwright/components/footerTest";
import { footerTest } from "@/playwright/components/footer/footerTest";
export async function runDigitalInputsTest(page: Page) {
await page.goto("/digitalInputs");

View File

@@ -1,8 +1,8 @@
import type { Page } from "@playwright/test";
import { highlightAndExpectVisible } from "@playwright/utils/highlight";
import { navTest } from "@playwright/components/navTest";
import { navTest } from "@/playwright/components/navigation/navTest";
import { headerTest } from "@/playwright/components/header/headerTest";
import { footerTest } from "@playwright/components/footerTest";
import { footerTest } from "@/playwright/components/footer/footerTest";
export async function runDigitalOutputsTest(page: Page) {
await page.goto("/digitalOutputs");

View File

@@ -1,8 +1,8 @@
import type { Page } from "@playwright/test";
import { highlightAndExpectVisible } from "@playwright/utils/highlight";
import { navTest } from "@playwright/components/navTest";
import { navTest } from "@/playwright/components/navigation/navTest";
import { headerTest } from "@/playwright/components/header/headerTest";
import { footerTest } from "@playwright/components/footerTest";
import { footerTest } from "@/playwright/components/footer/footerTest";
export async function runCableMonitoringTest(page: Page) {
await page.goto("/kabelueberwachung");

View File

@@ -1,8 +1,8 @@
import type { Page } from "@playwright/test";
import { highlightAndExpectVisible } from "@playwright/utils/highlight";
import { navTest } from "@playwright/components/navTest";
import { navTest } from "@/playwright/components/navigation/navTest";
import { headerTest } from "@/playwright/components/header/headerTest";
import { footerTest } from "@playwright/components/footerTest";
import { footerTest } from "@/playwright/components/footer/footerTest";
export async function runMeldungenTest(page: Page) {
await page.goto("/meldungen");

View File

@@ -1,8 +1,8 @@
import type { Page } from "@playwright/test";
import { highlightAndExpectVisible } from "@playwright/utils/highlight";
import { navTest } from "@playwright/components/navTest";
import { navTest } from "@/playwright/components/navigation/navTest";
import { headerTest } from "@/playwright/components/header/headerTest";
import { footerTest } from "@playwright/components/footerTest";
import { footerTest } from "@/playwright/components/footer/footerTest";
export async function runSettingsPageTest(page: Page) {
await page.goto("/einstellungen");

View File

@@ -1,8 +1,8 @@
import type { Page } from "@playwright/test";
import { highlightAndExpectVisible } from "@playwright/utils/highlight";
import { navTest } from "@playwright/components/navTest";
import { navTest } from "@/playwright/components/navigation/navTest";
import { headerTest } from "@/playwright/components/header/headerTest";
import { footerTest } from "@playwright/components/footerTest";
import { footerTest } from "@/playwright/components/footer/footerTest";
export async function runSystemTest(page: Page) {
await page.goto("/system");