M54: harden operations and demo resilience
MobilityOps acceptance / backend (push) Failing after 19s
MobilityOps acceptance / frontend (push) Successful in 25s
MobilityOps acceptance / e2e (push) Skipped

This commit is contained in:
NuklearRabbit
2026-08-24 03:31:03 +02:00
parent b0706989db
commit 81e3fd63bd
101 changed files with 5641 additions and 828 deletions
+6 -1
View File
@@ -49,7 +49,12 @@ test("data quality list can filter to demo scenarios only", async ({ page }) =>
await expect(page.locator(".data-table tbody tr").first()).toBeVisible();
const allRows = await page.locator(".data-table tbody tr").count();
await page.getByRole("checkbox", { name: "Enkel demoscenario's" }).check();
// The URL-driven filter update can replace the controlled checkbox immediately after
// its click. Assert against the newly rendered control instead of asking `check()` to
// verify the detached pre-navigation node.
await page.getByRole("checkbox", { name: "Enkel demoscenario's" }).click();
await expect(page).toHaveURL(/demo=true/);
await expect(page.getByRole("checkbox", { name: "Enkel demoscenario's" })).toBeChecked();
const filteredRows = await page.locator(".data-table tbody tr").count();
expect(filteredRows).toBeGreaterThan(0);
expect(filteredRows).toBeLessThanOrEqual(allRows);