chore: UI Widget Alarm Link in GisStationsStatusDistrict.json eingefügt
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user