test: playwright test erfolgreich
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
import { test, expect } from "@playwright/test";
|
||||
|
||||
test.use({
|
||||
viewport: {
|
||||
height: 800,
|
||||
width: 1280,
|
||||
},
|
||||
});
|
||||
|
||||
test("test", async ({ page }) => {
|
||||
await page.goto("http://localhost:3000/kabelueberwachung");
|
||||
await page
|
||||
.locator("div")
|
||||
.filter({ hasText: /^1KÜ705-FO⚙$/ })
|
||||
.getByRole("button")
|
||||
.click();
|
||||
await page
|
||||
.getByLabel("Einstellungen KÜ")
|
||||
.getByRole("button", { name: "TDR" })
|
||||
.click();
|
||||
await expect(
|
||||
page.getByText("TDR Dämpfung:dBGeschwindigkeit:m/µsTrigger:Speichern")
|
||||
).toBeVisible();
|
||||
});
|
||||
Reference in New Issue
Block a user