WIP: Test fehlgeschlagen
This commit is contained in:
@@ -52,4 +52,5 @@ export async function footerTest(page: Page) {
|
||||
page.getByRole("heading", { name: "PDF Handbücher" })
|
||||
);
|
||||
await highlightAndExpectVisible(page, page.getByText("KUE705FO.PDF"));
|
||||
await page.getByRole("contentinfo").getByRole("button").click();
|
||||
}
|
||||
|
||||
@@ -11,8 +11,4 @@ export async function headerTest(page: Page) {
|
||||
page,
|
||||
page.getByRole("img", { name: "Logo", exact: true })
|
||||
);
|
||||
await highlightAndExpectVisible(
|
||||
page,
|
||||
page.getByRole("main").locator("svg").first()
|
||||
);
|
||||
}
|
||||
|
||||
@@ -35,3 +35,23 @@ export async function navTest(page: Page) {
|
||||
page.getByRole("link", { name: "Einstellungen" })
|
||||
);
|
||||
}
|
||||
|
||||
/*
|
||||
// Sidebar Links sichtbar
|
||||
const sidebarLinks2 = [
|
||||
{ role: "link", name: "Übersicht" },
|
||||
{ role: "link", name: "Kabelüberwachung" },
|
||||
{ role: "link", name: "Meldungseingänge" },
|
||||
{ role: "link", name: "Schaltausgänge" },
|
||||
{ role: "link", name: "Messwerteingänge" },
|
||||
{ role: "link", name: "Berichte" },
|
||||
{ role: "link", name: "System" },
|
||||
{ role: "link", name: "Einstellungen" },
|
||||
];
|
||||
for (const link of sidebarLinks2) {
|
||||
const locator = page.getByRole(link.role as any, { name: link.name });
|
||||
await highlightAndExpectVisible(page, locator);
|
||||
await expect(locator).toBeVisible();
|
||||
await page.waitForTimeout(50);
|
||||
}
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user