fix: playwright Test bugs beheben
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import type { Page } from "@playwright/test";
|
||||
import { expect } from "@playwright/test";
|
||||
import { highlightAndExpectVisible } from "@playwright/utils/highlight";
|
||||
import { navTest } from "@playwright/components/navTest";
|
||||
import { headerTest } from "@playwright/components/headerTest";
|
||||
@@ -52,22 +53,4 @@ export async function runDigitalOutputsTest(page: Page) {
|
||||
page.getByRole("cell", { name: "3", exact: true }).click();
|
||||
page.getByRole("cell", { name: "4", exact: true }).locator("svg").click();
|
||||
page.getByRole("cell", { name: "4", exact: true }).click();
|
||||
page.getByRole("cell", { name: "Ausgang2" }).first().click();
|
||||
|
||||
page.getByRole("row", { name: "1 Ausgang2" }).locator("path").nth(1).click();
|
||||
page.getByRole("row", { name: "1 Ausgang2" }).locator("path").nth(1).click();
|
||||
page.getByRole("row", { name: "2 Ausgang2" }).locator("path").nth(1).click();
|
||||
page.getByRole("row", { name: "2 Ausgang2" }).locator("svg").nth(1).click();
|
||||
page.getByRole("row", { name: "1 Ausgang2" }).locator("path").nth(2).click();
|
||||
page.getByRole("row", { name: "1 Ausgang2" }).locator("svg").nth(2).click();
|
||||
page.getByRole("button", { name: "Modal schließen" }).click();
|
||||
page.getByRole("row", { name: "2 Ausgang2" }).locator("svg").nth(2).click();
|
||||
page.getByRole("button", { name: "Modal schließen" }).click();
|
||||
page.getByRole("row", { name: "1 Ausgang2" }).locator("svg").nth(2).click();
|
||||
page.getByRole("heading", { name: "Einstellungen Schaltausgang" }).click();
|
||||
page.getByText("Bezeichnung:").click();
|
||||
page.getByRole("textbox", { name: "z. B. Licht Relais" }).click();
|
||||
|
||||
page.getByRole("button", { name: "Modal schließen" }).click();
|
||||
page.getByRole("row", { name: "2 Ausgang2" }).locator("path").nth(2).click();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user