feat(webui): expose stable product destinations
Module Package Release / publish-packages (push) Successful in 13s
Module Package Release / publish-packages (push) Successful in 13s
This commit is contained in:
@@ -295,6 +295,33 @@ test("View focus has a deliberate permission-derived all-tools escape", async ({
|
||||
await expect(page.getByRole("button", { name: "Messages" })).toHaveCount(0);
|
||||
});
|
||||
|
||||
test("product navigation hides package topology behind stable bilingual destinations", async ({ page }) => {
|
||||
await page.setViewportSize({ width: 1280, height: 900 });
|
||||
await page.goto("/?theme=light&product-navigation=1");
|
||||
await page.getByRole("button", { name: "Expand navigation" }).click();
|
||||
|
||||
const primary = page.locator(".icon-nav > .icon-nav-group");
|
||||
await expect(primary.getByRole("link")).toHaveText([
|
||||
"Arbeit",
|
||||
"Dateien",
|
||||
"Nachrichten",
|
||||
"Kalender"
|
||||
]);
|
||||
await expect(primary.getByRole("link", { name: /Tasks|Files|Mail|Postbox|Calendar/ })).toHaveCount(0);
|
||||
|
||||
const allTools = page.locator("[data-product-navigation='all-tools']");
|
||||
await expect(allTools.getByText("Alle verfügbaren Werkzeuge", { exact: true })).toBeVisible();
|
||||
await allTools.locator("summary").click();
|
||||
await expect(allTools.getByRole("link")).toHaveText([
|
||||
"Tasks",
|
||||
"Files",
|
||||
"Mail",
|
||||
"Postbox",
|
||||
"Calendar"
|
||||
]);
|
||||
await expectNoAccessibilityViolations(page);
|
||||
});
|
||||
|
||||
test("a stale View focus falls back safely in a sparse optional-module catalogue", async ({ page }) => {
|
||||
await page.route("**/api/v1/quick-access/effective*", async (route) => {
|
||||
await route.fulfill({
|
||||
|
||||
Reference in New Issue
Block a user