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

@@ -0,0 +1,14 @@
import type { Page } from "@playwright/test";
import { highlightAndExpectVisible } from "@playwright/utils/highlight";
export async function headerTest(page: Page) {
await highlightAndExpectVisible(
page,
page.getByRole("heading", { name: "Meldestation" })
);
await highlightAndExpectVisible(page, page.getByRole("banner"));
await highlightAndExpectVisible(
page,
page.getByRole("img", { name: "Logo", exact: true })
);
}