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 }) ); }