feat(ui): name controls and preserve modal state

This commit is contained in:
cesnimda
2026-09-11 19:31:32 +02:00
parent 682a3028bb
commit ebd4a3e245
52 changed files with 1366 additions and 42 deletions
@@ -127,7 +127,7 @@ for (const mode of ["light", "dark"] as const) {
phase = "populated";
await page.reload();
await expect(page.locator("main").getByText("Nordlys æøå AS", { exact: true })).toBeVisible();
await expect(page.locator("main").getByRole("status")).toHaveCount(0);
await expect(page.locator("main").getByRole("status")).toHaveText(t.contentLoaded);
await expect(page.locator("html")).toHaveAttribute("data-color-scheme", mode);
await loadedContrast(page, info, "loaded-company");
// Both desktop table and phone cards retain named actions and a real dialog.