WIP: Test fehlgeschlagen
This commit is contained in:
@@ -1,33 +1,17 @@
|
||||
import type { Page } from "@playwright/test";
|
||||
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 runCableMonitoringTest(page: Page) {
|
||||
await page.goto("/kabelueberwachung");
|
||||
|
||||
// Logo
|
||||
await highlightAndExpectVisible(
|
||||
page,
|
||||
page.getByRole("img", { name: "Logo", exact: true })
|
||||
);
|
||||
await page.waitForTimeout(400);
|
||||
|
||||
// TALAS Logo
|
||||
await highlightAndExpectVisible(
|
||||
page,
|
||||
page.getByRole("img", { name: "TALAS Logo" })
|
||||
);
|
||||
await page.waitForTimeout(400);
|
||||
|
||||
// Meldestation
|
||||
await highlightAndExpectVisible(
|
||||
page,
|
||||
page.getByRole("heading", { name: "Meldestation" })
|
||||
);
|
||||
await page.waitForTimeout(400);
|
||||
|
||||
// CPLV4 Ismail Rastede
|
||||
await highlightAndExpectVisible(page, page.getByText("CPLV4 Ismail Rastede"));
|
||||
//----------------------
|
||||
await headerTest(page);
|
||||
await navTest(page);
|
||||
await footerTest(page);
|
||||
await page.waitForTimeout(400);
|
||||
//----------------------
|
||||
|
||||
// Rack Buttons
|
||||
for (const rack of [1, 2, 3, 4, 1]) {
|
||||
@@ -373,8 +357,4 @@ export async function runCableMonitoringTest(page: Page) {
|
||||
page.getByRole("cell", { name: "Status" })
|
||||
);
|
||||
await page.waitForTimeout(400);
|
||||
|
||||
// ...weitere Schritte können nach diesem Muster ergänzt werden
|
||||
}
|
||||
|
||||
//---------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user