fix: KabelModulstatus KÜ V 421 und 431

This commit is contained in:
ISA
2025-08-27 09:27:47 +02:00
parent e69934ff51
commit 699ebef7bd
24 changed files with 1040 additions and 26 deletions

View File

@@ -61,13 +61,13 @@ export async function runAnalogInputsTest(page: Page) {
page,
page.getByRole("cell", { name: "7", exact: true })
);
await page.waitForTimeout(3000);
await page.waitForTimeout(1000);
await highlightAndExpectVisible(
page,
page.getByRole("cell", { name: "8", exact: true })
);
await page.waitForTimeout(3000);
await page.waitForTimeout(1000);
await highlightAndExpectVisible(
page,
@@ -75,7 +75,7 @@ export async function runAnalogInputsTest(page: Page) {
);
// Markiere die gesamte erste Datenzeile (Row mit "AE 1" falls vorhanden)
await page.waitForTimeout(3000);
await page.waitForTimeout(1000);
await highlightAndExpectVisible(
page,
@@ -84,13 +84,13 @@ export async function runAnalogInputsTest(page: Page) {
.getByRole("button")
.first()
);
await page.waitForTimeout(3000);
await page.waitForTimeout(1000);
await highlightAndExpectVisible(
page,
page.locator("tr:nth-child(3) > td:nth-child(5)")
);
await page.waitForTimeout(3000);
await page.waitForTimeout(1000);
await highlightAndExpectVisible(
page,
@@ -99,7 +99,7 @@ export async function runAnalogInputsTest(page: Page) {
.getByRole("button")
.first()
);
await page.waitForTimeout(3000);
await page.waitForTimeout(1000);
await highlightAndExpectVisible(
page,
@@ -107,7 +107,7 @@ export async function runAnalogInputsTest(page: Page) {
.getByRole("row", { name: "8 -0.00 mA AE 8 Messkurve" })
.getByLabel("Messkurve anzeigen")
);
await page.waitForTimeout(3000);
await page.waitForTimeout(1000);
await page.getByRole("cell", { name: "1", exact: true }).click();
@@ -128,13 +128,13 @@ export async function runAnalogInputsTest(page: Page) {
page,
page.getByRole("button", { name: "Speichern" })
);
await page.waitForTimeout(3000);
await page.waitForTimeout(1000);
await highlightAndExpectVisible(
page,
page.getByRole("button", { name: "Modal schließen" })
);
await page.waitForTimeout(3000);
await page.waitForTimeout(1000);
await highlightAndExpectVisible(
page,
@@ -142,7 +142,7 @@ export async function runAnalogInputsTest(page: Page) {
"Einstellungen Messwerteingang 1Bezeichnung:Offset:Faktor:Einheit:"
)
);
await page.waitForTimeout(3000);
await page.waitForTimeout(1000);
await page.getByRole("button", { name: "Modal schließen" }).click();
@@ -190,38 +190,38 @@ export async function runAnalogInputsTest(page: Page) {
page,
page.locator("div").filter({ hasText: /^Von$/ }).getByRole("textbox")
);
await page.waitForTimeout(3000);
await page.waitForTimeout(1000);
await highlightAndExpectVisible(
page,
page.locator("div").filter({ hasText: /^Bis$/ })
);
await page.waitForTimeout(3000);
await page.waitForTimeout(1000);
await highlightAndExpectVisible(
page,
page.locator("div").filter({ hasText: /^Bis$/ }).getByRole("textbox")
);
await page.waitForTimeout(3000);
await page.waitForTimeout(1000);
await highlightAndExpectVisible(page, page.getByRole("img"));
await page.waitForTimeout(3000);
await page.waitForTimeout(1000);
await highlightAndExpectVisible(
page,
page.getByRole("button", { name: "Alle Messwerte " })
);
await page.getByRole("button", { name: "Alle Messwerte " }).click();
await page.waitForTimeout(3000);
await page.waitForTimeout(1000);
await page.getByRole("option", { name: "Stündlich" }).click();
await page.waitForTimeout(3000);
await page.waitForTimeout(1000);
await page.getByRole("button", { name: "Stündlich" }).click();
await page.waitForTimeout(3000);
await page.waitForTimeout(1000);
await page.getByRole("option", { name: "Täglich" }).click();
await page.waitForTimeout(3000);
await page.waitForTimeout(1000);
await page.getByRole("button", { name: "Fullscreen" }).click();
@@ -236,7 +236,7 @@ export async function runAnalogInputsTest(page: Page) {
page,
page.getByRole("button", { name: "Modal schließen" })
);
await page.waitForTimeout(3000);
await page.waitForTimeout(1000);
await page.getByRole("button", { name: "Modal schließen" }).click();
// ...dein AnalogInputs-Testcode...