Refresh HiveGrid Cloud reference snapshot

This commit is contained in:
david committed 2026-08-03 15:31:14 +02:00
1 parent 5e99e14772
commit 7f88026f79
5955 files changed
+1177325 -188362

No files matched your search

@@ -1,14 +1,13 @@
import { expect, test, type Page } from "./utils/test";
import { expectNoCriticalA11yViolations } from "./utils/axe";
import { loginAsTenantUser } from "./utils/auth";
import { loginAsAdminUser } from "./utils/auth";
import { expectNoHorizontalOverflow, narrowMobileViewport } from "./utils/mobile";
import { escapeRegExp, interceptCurrentRoutePost, postDataIncludesField, skipIfUnavailable } from "./utils/navigation";
import { skipOrFailWhenE2eFixtureMissing, skipOrFailWhenE2eInputsMissing } from "./utils/readiness";
// Admin-host pages need a dedicated OPERATOR admin user — the shared tenant user
// must not be one (it would redirect to the admin host on login and break every
// tenant-app login flow). The seed provisions `e2e.admin@example.test` with an
// AdminUser row + the global SuperAdmin role and emits E2E_ADMIN_EMAIL/PASSWORD.
// Admin-host pages use the canonical local platform admin. The shared tenant
// user must not be an operator (it would redirect to the admin host and break
// tenant-app login flows), so the seed emits the identities separately.
const adminCredentials =
process.env.E2E_ADMIN_EMAIL && process.env.E2E_ADMIN_PASSWORD
? { email: process.env.E2E_ADMIN_EMAIL, password: process.env.E2E_ADMIN_PASSWORD }
@@ -97,7 +96,7 @@ test.describe("admin email sequences mobile a11y", () => {
});
async function openAdminEmailSequences(page: Page): Promise<void> {
await loginAsTenantUser(page, adminCredentials!);
await loginAsAdminUser(page, adminCredentials!);
const response = await page.goto(adminEmailSequencesPath!, { waitUntil: "domcontentloaded" });
await skipIfUnavailable(page, response, "Admin email sequence path is not reachable in this environment");
}