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

@@ -10,9 +10,9 @@
* an unreachable target must fail instead of skipping. Set REQUIRE_AUTH_E2E=1
* when authenticated browser specs must not silently skip. Set
* REQUIRE_E2E_READINESS=1 for staging/readiness lanes where authenticated
* dashboard, governance settings, subscription, portal management, admin email
* sequences, plugin settings, workflow builder, workflow smoke inputs, and
* read-only plugin credentials must be present before Playwright starts. Set
* dashboard, governance settings, subscription, admin email sequences, plugin
* settings, workflow builder, workflow smoke inputs, and read-only plugin
* credentials must be present before Playwright starts. Set
* REQUIRE_E2E_MUTATING_READINESS=1 only
* for disposable readiness lanes where registration/account/plugin mutation
* opt-ins must also be present. Set E2E_REQUIRE_SUBSCRIPTION_SUCCESS=1 only in
@@ -46,11 +46,7 @@ export function hasPlaywrightRuntime({ spawn = spawnSync } = {}) {
}
export function isUrlReachable(url, { spawn = spawnSync, allowServerErrors = true } = {}) {
const result = spawn(
"curl",
["-fsS", "--max-time", "5", "-o", "/dev/null", "-w", "%{http_code}", url],
{ encoding: "utf8", timeout: 10_000 },
);
const result = spawn("curl", ["-fsS", "--max-time", "5", "-o", "/dev/null", "-w", "%{http_code}", url], { encoding: "utf8", timeout: 10_000 });
if (result.status !== 0) return false;
const code = parseInt((result.stdout || "").trim(), 10);
// In local SKIP-safe mode, any HTTP response means the app is reachable and
@@ -79,6 +75,7 @@ export function missingReadinessEnv({ env = process.env } = {}) {
"E2E_TENANT_PASSWORD",
"E2E_REGISTRATION_EXPECTS_EMAIL_VERIFICATION",
"E2E_TENANT_DASHBOARD_PATH",
"E2E_TENANT_CHAT_PATH",
"E2E_TENANT_SETTINGS_ACCOUNT_PATH",
"E2E_TENANT_SETTINGS_PROFILE_PATH",
"E2E_TENANT_SUBSCRIPTION_PATH",
@@ -91,11 +88,8 @@ export function missingReadinessEnv({ env = process.env } = {}) {
"E2E_TENANT_PRIVACY_PATH",
"E2E_TENANT_API_PATH",
"E2E_TENANT_API_KEYS_PATH",
"E2E_TENANT_API_DOCS_PATH",
"E2E_TENANT_API_LOGS_PATH",
"E2E_TENANT_POLICIES_PATH",
"E2E_TENANT_PORTAL_ANALYTICS_PATH",
"E2E_TENANT_PORTAL_SETTINGS_PATH",
"E2E_ADMIN_EMAIL_SEQUENCES_PATH",
"E2E_PLUGIN_SETTINGS_PATH",
"E2E_PLUGIN_READONLY_EMAIL",
@@ -134,6 +128,7 @@ export function missingReadinessModeEnv({ env = process.env } = {}) {
export function missingReadinessMutatingOptInEnv({ env = process.env } = {}) {
const requiredOptIns = {
E2E_ALLOW_CHAT_SEND: "1",
E2E_ALLOW_REGISTRATION_CREATE: "1",
E2E_ALLOW_ACCOUNT_CREATE: "1",
E2E_ALLOW_NO_TENANT_ACCOUNT_CREATE: "1",
@@ -183,11 +178,7 @@ export function missingWorkflowOutboxDrainReadinessEnv({ env = process.env } = {
return missing;
}
export function runPlaywrightA11y({
env = process.env,
spawn = spawnSync,
stdout = defaultStdout,
} = {}) {
export function runPlaywrightA11y({ env = process.env, spawn = spawnSync, stdout = defaultStdout } = {}) {
const targetUrl = resolveTargetUrl({ env });
const requireE2eA11y = env.REQUIRE_E2E_A11Y === "1";
const requireAuthE2e = env.REQUIRE_AUTH_E2E === "1";
@@ -313,11 +304,7 @@ export function runPlaywrightA11y({
}
stdout(`Target ${targetUrl} reachable — running Playwright a11y suite.`);
const result = spawn(
"pnpm",
["exec", "playwright", "test", "--config=playwright.config.ts"],
{ stdio: "inherit" },
);
const result = spawn("pnpm", ["exec", "playwright", "test", "--config=playwright.config.ts"], { stdio: "inherit" });
if (result.error) {
return { status: "fail", reason: "spawn-error", exitCode: 1 };