chore: move playwright components folder to tests
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
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();
|
||||
});
|
||||
Reference in New Issue
Block a user