refactor: move headerTest to header folder

This commit is contained in:
ISA
2025-09-02 15:03:43 +02:00
parent f4e0620b49
commit 2d9cd74375
14 changed files with 18 additions and 13 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.813 NEXT_PUBLIC_APP_VERSION=1.6.814
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.813 NEXT_PUBLIC_APP_VERSION=1.6.814
NEXT_PUBLIC_CPL_MODE=production NEXT_PUBLIC_CPL_MODE=production

View File

@@ -1,3 +1,8 @@
## [1.6.814] 2025-09-02
- fix: playwright Test bugs beheben
---
## [1.6.813] 2025-09-02 ## [1.6.813] 2025-09-02
- WIP: Test fehlgeschlagen - WIP: Test fehlgeschlagen

4
package-lock.json generated
View File

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

View File

@@ -2,7 +2,7 @@ import type { Page } from "@playwright/test";
import { expect } from "@playwright/test"; import { expect } from "@playwright/test";
import { highlightAndExpectVisible } from "@playwright/utils/highlight"; import { highlightAndExpectVisible } from "@playwright/utils/highlight";
import { navTest } from "@playwright/components/navTest"; import { navTest } from "@playwright/components/navTest";
import { headerTest } from "@playwright/components/headerTest"; import { headerTest } from "@/playwright/components/header/headerTest";
import { footerTest } from "@playwright/components/footerTest"; import { footerTest } from "@playwright/components/footerTest";
// Kombinierte Helper-Funktion: injiziert CSS (nur einmal), hebt hervor und prüft Sichtbarkeit // Kombinierte Helper-Funktion: injiziert CSS (nur einmal), hebt hervor und prüft Sichtbarkeit

View File

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

View File

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

View File

@@ -2,7 +2,7 @@ import type { Page } from "@playwright/test";
import { expect } from "@playwright/test"; import { expect } from "@playwright/test";
import { highlightAndExpectVisible } from "@playwright/utils/highlight"; import { highlightAndExpectVisible } from "@playwright/utils/highlight";
import { navTest } from "@playwright/components/navTest"; import { navTest } from "@playwright/components/navTest";
import { headerTest } from "@playwright/components/headerTest"; import { headerTest } from "@/playwright/components/header/headerTest";
import { footerTest } from "@playwright/components/footerTest"; import { footerTest } from "@playwright/components/footerTest";
export async function runDigitalOutputsTest(page: Page) { export async function runDigitalOutputsTest(page: Page) {

View File

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

View File

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

View File

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

View File

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