WIP: Test fehlgeschlagen

This commit is contained in:
ISA
2025-09-02 14:22:58 +02:00
parent fb79817136
commit 35e34b96d1
18 changed files with 186 additions and 655 deletions

View File

@@ -3,13 +3,15 @@ import { highlightAndExpectVisible } from "@playwright/utils/highlight";
import { navTest } from "@playwright/components/navTest";
import { headerTest } from "@playwright/components/headerTest";
import { footerTest } from "@playwright/components/footerTest";
export async function runDashboardTest(page: Page) {
await page.goto("http://localhost:3000/dashboard");
export async function runDashboardTest(page: Page) {
await page.goto("/dashboard");
//----------------------
await headerTest(page);
// Navigation-Tests ausgelagert:
await navTest(page);
await footerTest(page);
await page.waitForTimeout(400);
//----------------------
await highlightAndExpectVisible(
page,
page.getByRole("heading", { name: "Letzten 20 Meldungen" })