chore: UI Widget Alarm Link in GisStationsStatusDistrict.json eingefügt

This commit is contained in:
ISA
2025-09-17 07:33:21 +02:00
parent bfd091b1b1
commit f22bb4b232
6 changed files with 108 additions and 52 deletions

View File

@@ -98,7 +98,17 @@ test("MapComponent", async ({ page }) => {
// 7) Marker setzen und Stationen wählen
await page.getByLabel("Marker").click();
await expect(page.getByText("Station wählenBitte wählen…")).toBeVisible();
// ...existing code...
// ...existing code...
await expect(page.getByText("Station wählen")).toBeVisible();
const select = page.locator("select");
await expect(select).toBeVisible();
await expect(select).toBeEnabled();
// Prüfe, ob die gewünschten Optionen existieren (attached)
await expect(select.locator('option[value="50977"]')).toBeAttached();
await expect(select.locator('option[value="50986"]')).toBeAttached();
// ----------------------------------------------
await selectStation(page, "50977");
await page.getByLabel("Marker").click();
await selectStation(page, "50986");