Test: implement header, footer und Nav everywhere in *.test.ts

This commit is contained in:
ISA
2025-09-11 11:32:09 +02:00
parent 538f9ca487
commit bdaf0ec263
7 changed files with 23 additions and 8 deletions

View File

@@ -18,4 +18,5 @@ export async function headerTest(page: Page) {
// Theme Toggle (Label wechselt Dark/Light). Wir akzeptieren beide.
const darkBtn = page.getByRole("button", { name: /Dark Mode|Light Mode/ });
await expect(darkBtn).toBeVisible();
await expect(page.getByText("CPLV4 Ismail Rastede")).toBeVisible();
}