Update hivegrid-cloud reference to latest main

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
davidandClaude Fable 5 committed 2026-07-08 16:15:37 +02:00
1 parent e98d38e716
commit 7b21524c86
3781 files changed
+373484 -225607

No files matched your search

@@ -5,6 +5,10 @@ import { expectNoHorizontalOverflow } from "./utils/mobile";
import { escapeRegExp, skipIfUnavailable } from "./utils/navigation";
import { skipOrFailWhenE2eFixtureMissing, skipOrFailWhenE2eInputsMissing } from "./utils/readiness";
// R-P2b (D-P2 Admin RBAC): one merged "Rollen und Berechtigungen" tab (S02).
// The old users/permissions sub-tabs redirect (matrix → members, permissions →
// roles); the S01/S02 tab bar links members and roles.
const credentials = getTenantCredentials();
const dashboardPath = process.env.E2E_TENANT_DASHBOARD_PATH;
const rolesAndPermissionsPath =
@@ -23,37 +27,35 @@ test.describe("tenant roles and permissions desktop a11y", () => {
}
});
test("renders users, roles, and permissions tabs without desktop overflow or critical a11y violations", async ({ page }) => {
test("renders the merged roles tab without desktop overflow or critical a11y violations", async ({ page }) => {
await loginAsTenantUser(page, credentials!);
const response = await page.goto(rolesAndPermissionsPath!, { waitUntil: "domcontentloaded" });
await skipIfUnavailable(page, response, `Tenant roles and permissions path ${rolesAndPermissionsPath}`);
const usersPath = `${rolesAndPermissionsPath}/users`;
const rolesPath = `${rolesAndPermissionsPath}/roles`;
const permissionsPath = `${rolesAndPermissionsPath}/permissions`;
await expect(page).toHaveURL(new RegExp(`${escapeRegExp(usersPath)}(?:[?#].*)?$`, "u"));
await expect(page.locator('[data-ui-id="ui.settings.rolesAndPermissions.page"]').first()).toBeVisible();
await expect(page.locator('[data-ui-id="ui.settings.rolesAndPermissions.tabs"]').first()).toBeVisible();
await expect(page.locator(`a[href$="${usersPath}"]`).first()).toBeVisible();
await expect(page.locator(`a[href$="${rolesPath}"]`).first()).toBeVisible();
await expect(page.locator(`a[href$="${permissionsPath}"]`).first()).toBeVisible();
await expect(page.locator('[data-ui-id="ui.settings.rolesAndPermissions.users"] table').first()).toBeVisible();
await expectNoHorizontalOverflow(page);
await expectNoCriticalA11yViolations(page);
await page.locator(`a[href$="${rolesPath}"]`).first().click();
// Index redirects into the merged S02 roles tab.
await expect(page).toHaveURL(new RegExp(`${escapeRegExp(rolesPath)}(?:[?#].*)?$`, "u"));
await expect(page.locator('[data-ui-id="ui.settings.rolesAndPermissions.page"]').first()).toBeVisible();
await expect(page.locator('[data-ui-id="ui.settings.rolesAndPermissions.roles"] table').first()).toBeVisible();
await expectNoHorizontalOverflow(page);
await expectNoCriticalA11yViolations(page);
await expect(page.locator('[data-ui-id="ui.settings.rolesAndPermissions.roles.filter"]').first()).toBeVisible();
// S01/S02 tab bar: link back to the members tab.
await expect(page.locator('[data-ui-id="ui.settings.rolesAndPermissions.tab.members"]').first()).toBeVisible();
await page.locator(`a[href$="${permissionsPath}"]`).first().click();
await expect(page).toHaveURL(new RegExp(`${escapeRegExp(permissionsPath)}(?:[?#].*)?$`, "u"));
await expect(page.locator('[data-ui-id="ui.settings.rolesAndPermissions.permissions"] table').first()).toBeVisible();
await expectNoHorizontalOverflow(page);
await expectNoCriticalA11yViolations(page);
});
test("redirects the legacy users and permissions sub-tabs", async ({ page }) => {
await loginAsTenantUser(page, credentials!);
const usersResponse = await page.goto(`${rolesAndPermissionsPath!}/users`, { waitUntil: "domcontentloaded" });
await skipIfUnavailable(page, usersResponse, `Tenant roles users path ${rolesAndPermissionsPath}/users`);
// Matrix is superseded by the inline role dropdown in the members list (D01).
await expect(page).toHaveURL(/\/settings\/members(?:[?#].*)?$/u);
await page.goto(`${rolesAndPermissionsPath!}/permissions`, { waitUntil: "domcontentloaded" });
await expect(page).toHaveURL(new RegExp(`${escapeRegExp(`${rolesAndPermissionsPath}/roles`)}(?:[?#].*)?$`, "u"));
});
});