test: WIP: digitalInputsTest.ts
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
import { test, expect } from "@playwright/test";
|
||||
import type { Page } from "@playwright/test";
|
||||
import { expect } from "@playwright/test";
|
||||
|
||||
test("test", async ({ page }) => {
|
||||
await page.goto("http://localhost:3000/digitalInputs");
|
||||
export async function runDigitalInputsTest(page: Page) {
|
||||
await page.goto("/digitalInputs");
|
||||
await expect(
|
||||
page.getByRole("img", { name: "Logo", exact: true })
|
||||
).toBeVisible();
|
||||
@@ -114,4 +115,4 @@ test("test", async ({ page }) => {
|
||||
page.getByRole("row", { name: "● DE 13" }).locator("span")
|
||||
).toBeVisible();
|
||||
await expect(page.getByRole("cell", { name: "DE 13" })).toBeVisible();
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user