test: separate dom-only workbench report

This commit is contained in:
Code Queue Review
2026-05-23 05:04:08 +00:00
parent 7835fa4466
commit 57e0c830e4
2 changed files with 19 additions and 10 deletions
+16 -9
View File
@@ -1463,9 +1463,7 @@ async function validateDevCloudWorkbenchLiveReport(report, label, raw) {
}
for (const requiredCheck of [
"live-runtime-current-main",
"live-http-html",
"live-web-assets-current-main",
"live-browser-dom",
"live-api-runtime-readiness",
"live-code-agent-browser-journey"
@@ -1473,13 +1471,22 @@ async function validateDevCloudWorkbenchLiveReport(report, label, raw) {
assert.ok(checks.has(requiredCheck), `${label}.checks missing ${requiredCheck}`);
}
assertDevCloudWorkbenchIdentityChecks(
report,
label,
checks.get("live-runtime-current-main"),
checks.get("live-web-assets-current-main"),
{ requirePass: report.status === "pass" }
);
const hasDeploymentIdentityChecks =
checks.has("live-runtime-current-main") ||
checks.has("live-web-assets-current-main") ||
Object.hasOwn(report, "deploymentIdentity") ||
Object.hasOwn(report, "webAssetIdentity");
if (hasDeploymentIdentityChecks || report.status === "pass") {
assert.ok(checks.has("live-runtime-current-main"), `${label}.checks missing live-runtime-current-main`);
assert.ok(checks.has("live-web-assets-current-main"), `${label}.checks missing live-web-assets-current-main`);
assertDevCloudWorkbenchIdentityChecks(
report,
label,
checks.get("live-runtime-current-main"),
checks.get("live-web-assets-current-main"),
{ requirePass: report.status === "pass" }
);
}
const httpCheck = checks.get("live-http-html");
assert.equal(httpCheck.status, "pass", `${label}.live-http-html.status`);