refactor: move headerTest to header folder
This commit is contained in:
@@ -2,7 +2,7 @@ import type { Page } from "@playwright/test";
|
||||
import { expect } from "@playwright/test";
|
||||
import { highlightAndExpectVisible } from "@playwright/utils/highlight";
|
||||
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";
|
||||
|
||||
// Kombinierte Helper-Funktion: injiziert CSS (nur einmal), hebt hervor und prüft Sichtbarkeit
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import type { Page } from "@playwright/test";
|
||||
import { highlightAndExpectVisible } from "@playwright/utils/highlight";
|
||||
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";
|
||||
|
||||
export async function runDashboardTest(page: Page) {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import type { Page } from "@playwright/test";
|
||||
import { highlightAndExpectVisible } from "@playwright/utils/highlight";
|
||||
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";
|
||||
|
||||
export async function runDigitalInputsTest(page: Page) {
|
||||
|
||||
@@ -2,7 +2,7 @@ import type { Page } from "@playwright/test";
|
||||
import { expect } from "@playwright/test";
|
||||
import { highlightAndExpectVisible } from "@playwright/utils/highlight";
|
||||
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";
|
||||
|
||||
export async function runDigitalOutputsTest(page: Page) {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import type { Page } from "@playwright/test";
|
||||
import { highlightAndExpectVisible } from "@playwright/utils/highlight";
|
||||
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";
|
||||
|
||||
export async function runCableMonitoringTest(page: Page) {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import type { Page } from "@playwright/test";
|
||||
import { highlightAndExpectVisible } from "@playwright/utils/highlight";
|
||||
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";
|
||||
|
||||
export async function runMeldungenTest(page: Page) {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import type { Page } from "@playwright/test";
|
||||
import { highlightAndExpectVisible } from "@playwright/utils/highlight";
|
||||
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";
|
||||
|
||||
export async function runSettingsPageTest(page: Page) {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import type { Page } from "@playwright/test";
|
||||
import { highlightAndExpectVisible } from "@playwright/utils/highlight";
|
||||
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";
|
||||
|
||||
export async function runSystemTest(page: Page) {
|
||||
|
||||
Reference in New Issue
Block a user