13 lines
466 B
TypeScript
13 lines
466 B
TypeScript
import { test, expect } from "@playwright/test";
|
|
import { highlightAndExpectVisible } from "@playwright/utils/highlight";
|
|
|
|
test("AnalogInputsView shows heading and table", async ({ page }) => {
|
|
await page.goto("/analogInputs");
|
|
await highlightAndExpectVisible(
|
|
page,
|
|
page.getByRole("heading", { name: "Messwerteingänge" })
|
|
);
|
|
await highlightAndExpectVisible(page, page.getByRole("table"));
|
|
await expect(page.getByRole("table")).toBeVisible();
|
|
});
|