feat(ui): name controls and preserve modal state
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user