WIP: Test fehlgeschlagen
This commit is contained in:
@@ -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" })
|
||||
|
||||
Reference in New Issue
Block a user