Test: In KÜ RSL: Zahl mit 3 Nachkommastellen
This commit is contained in:
@@ -104,7 +104,10 @@ export async function runCableMonitoringTest(page: Page) {
|
||||
);
|
||||
await page.waitForTimeout(400);
|
||||
|
||||
await highlightAndExpectVisible(page, page.getByText("RSL: 0 kOhm").first());
|
||||
await highlightAndExpectVisible(
|
||||
page,
|
||||
page.getByText(/^RSL: \d+,\d{3} kOhm$/).first()
|
||||
);
|
||||
await page.waitForTimeout(400);
|
||||
|
||||
await highlightAndExpectVisible(page, page.getByText("Kabel 1"));
|
||||
@@ -204,23 +207,15 @@ export async function runCableMonitoringTest(page: Page) {
|
||||
);
|
||||
await page.waitForTimeout(400);
|
||||
|
||||
await highlightAndExpectVisible(page, page.getByText("RSL: 0 kOhm").nth(3));
|
||||
await highlightAndExpectVisible(
|
||||
page,
|
||||
page.getByText(/^RSL: \d+,\d{3} kOhm$/).nth(3)
|
||||
);
|
||||
await page.waitForTimeout(400);
|
||||
|
||||
await highlightAndExpectVisible(page, page.getByText("Kabel 8"));
|
||||
await page.waitForTimeout(400);
|
||||
|
||||
await highlightAndExpectVisible(
|
||||
page,
|
||||
page
|
||||
.getByRole("main")
|
||||
.locator("div")
|
||||
.filter({
|
||||
hasText:
|
||||
"8KÜ705-FO⚙BetriebAlarmIsolationsfehler ISO: 10 MOhmRSL: 0 kOhmKabel 8V4.",
|
||||
})
|
||||
.nth(2)
|
||||
);
|
||||
await page.waitForTimeout(400);
|
||||
|
||||
await highlightAndExpectVisible(
|
||||
|
||||
Reference in New Issue
Block a user