验证promotion证据浏览器展示
结论:browser workflow overview smoke 现在验证8条evidence-ready drilldown DOM、PUMA family/path/source count,以及完整evidence expansion diagnostics artifact;baseline保持28/28/131/0,hard block不解锁。
This commit is contained in:
@@ -12,6 +12,7 @@
|
|||||||
createVirtualHalCommandScriptFixtureReport,
|
createVirtualHalCommandScriptFixtureReport,
|
||||||
createVirtualHalMotionControllerMatrixReport,
|
createVirtualHalMotionControllerMatrixReport,
|
||||||
createVirtualHalSimConfigMacroLoadFixtureReport,
|
createVirtualHalSimConfigMacroLoadFixtureReport,
|
||||||
|
createVirtualHalSimConfigEvidenceExpansionReport,
|
||||||
createVirtualHalSimConfigPromotionCandidateReport,
|
createVirtualHalSimConfigPromotionCandidateReport,
|
||||||
createVirtualHalSimConfigSourceCoverageReport,
|
createVirtualHalSimConfigSourceCoverageReport,
|
||||||
createVirtualHalSimulationReplacementReport,
|
createVirtualHalSimulationReplacementReport,
|
||||||
@@ -95,6 +96,12 @@
|
|||||||
!workflowApi?.getWorkflowOverviewReleaseReadinessArtifactGateExecutionSummaryDomReadiness ||
|
!workflowApi?.getWorkflowOverviewReleaseReadinessArtifactGateExecutionSummaryDomReadiness ||
|
||||||
!workflowApi?.renderWorkflowOverviewReleaseReadinessArtifactGateExecutionSummaryState ||
|
!workflowApi?.renderWorkflowOverviewReleaseReadinessArtifactGateExecutionSummaryState ||
|
||||||
!workflowApi?.mountWorkflowOverviewReleaseReadinessArtifactGateExecutionSummaryState ||
|
!workflowApi?.mountWorkflowOverviewReleaseReadinessArtifactGateExecutionSummaryState ||
|
||||||
|
!workflowApi?.getWorkflowOverviewPromotionCandidateDrilldownViewModel ||
|
||||||
|
!workflowApi?.getWorkflowOverviewPromotionCandidateDrilldownRenderState ||
|
||||||
|
!workflowApi?.getWorkflowOverviewPromotionCandidateDrilldownDomContract ||
|
||||||
|
!workflowApi?.getWorkflowOverviewPromotionCandidateDrilldownDomReadiness ||
|
||||||
|
!workflowApi?.renderWorkflowOverviewPromotionCandidateDrilldownState ||
|
||||||
|
!workflowApi?.mountWorkflowOverviewPromotionCandidateDrilldownState ||
|
||||||
!workflowApi?.getWorkflowOverviewReleaseReadinessArtifactDisplayViewModel ||
|
!workflowApi?.getWorkflowOverviewReleaseReadinessArtifactDisplayViewModel ||
|
||||||
!workflowApi?.getWorkflowOverviewReleaseReadinessArtifactRenderState ||
|
!workflowApi?.getWorkflowOverviewReleaseReadinessArtifactRenderState ||
|
||||||
!workflowApi?.getWorkflowOverviewReleaseReadinessArtifactDomContract ||
|
!workflowApi?.getWorkflowOverviewReleaseReadinessArtifactDomContract ||
|
||||||
@@ -368,14 +375,10 @@
|
|||||||
renderState: releaseArtifactJsonWorkflowRenderState,
|
renderState: releaseArtifactJsonWorkflowRenderState,
|
||||||
});
|
});
|
||||||
const diagnosticsVirtualHalState = createVirtualHalState();
|
const diagnosticsVirtualHalState = createVirtualHalState();
|
||||||
const diagnosticsArtifact = {
|
const diagnosticsMotionControllerMatrix = createVirtualHalMotionControllerMatrixReport({
|
||||||
apiName: "real-browser-simulation-diagnostics-artifact",
|
manifestEntries: VIRTUAL_HAL_MOTION_MATRIX_MANIFEST_ENTRIES,
|
||||||
artifactVersion: 1,
|
});
|
||||||
virtualHal: diagnosticsVirtualHalState,
|
const diagnosticsPromotionCandidates = createVirtualHalSimConfigPromotionCandidateReport({
|
||||||
virtualHalSimulationReplacement: createVirtualHalSimulationReplacementReport(diagnosticsVirtualHalState),
|
|
||||||
virtualHalSourceCompliance: createVirtualHalSourceComplianceReport({ halState: diagnosticsVirtualHalState }),
|
|
||||||
virtualHalSimConfigSourceCoverage: createVirtualHalSimConfigSourceCoverageReport(),
|
|
||||||
virtualHalSimConfigPromotionCandidates: createVirtualHalSimConfigPromotionCandidateReport({
|
|
||||||
manifestEntries: [
|
manifestEntries: [
|
||||||
...VIRTUAL_HAL_MOTION_MATRIX_MANIFEST_ENTRIES,
|
...VIRTUAL_HAL_MOTION_MATRIX_MANIFEST_ENTRIES,
|
||||||
"linuxcnc/configs/sim/qtdragon/qtdragon_xyz45/qtdragon_xyza.ini",
|
"linuxcnc/configs/sim/qtdragon/qtdragon_xyz45/qtdragon_xyza.ini",
|
||||||
@@ -386,10 +389,24 @@
|
|||||||
"linuxcnc/configs/sim/axis/rose_engine/rose_engine.ini",
|
"linuxcnc/configs/sim/axis/rose_engine/rose_engine.ini",
|
||||||
"linuxcnc/configs/sim/axis/rose_engine/rcone_demo.ngc",
|
"linuxcnc/configs/sim/axis/rose_engine/rcone_demo.ngc",
|
||||||
],
|
],
|
||||||
motionControllerMatrix: createVirtualHalMotionControllerMatrixReport({
|
motionControllerMatrix: diagnosticsMotionControllerMatrix,
|
||||||
manifestEntries: VIRTUAL_HAL_MOTION_MATRIX_MANIFEST_ENTRIES,
|
});
|
||||||
}),
|
const diagnosticsEvidenceExpansion = createVirtualHalSimConfigEvidenceExpansionReport({
|
||||||
}),
|
manifestEntries: [
|
||||||
|
...VIRTUAL_HAL_MOTION_MATRIX_MANIFEST_ENTRIES,
|
||||||
|
"linuxcnc/configs/sim/axis/vismach/puma/puma_cube.ini",
|
||||||
|
],
|
||||||
|
motionControllerMatrix: diagnosticsMotionControllerMatrix,
|
||||||
|
});
|
||||||
|
const diagnosticsArtifact = {
|
||||||
|
apiName: "real-browser-simulation-diagnostics-artifact",
|
||||||
|
artifactVersion: 1,
|
||||||
|
virtualHal: diagnosticsVirtualHalState,
|
||||||
|
virtualHalSimulationReplacement: createVirtualHalSimulationReplacementReport(diagnosticsVirtualHalState),
|
||||||
|
virtualHalSourceCompliance: createVirtualHalSourceComplianceReport({ halState: diagnosticsVirtualHalState }),
|
||||||
|
virtualHalSimConfigSourceCoverage: createVirtualHalSimConfigSourceCoverageReport(),
|
||||||
|
virtualHalSimConfigPromotionCandidates: diagnosticsPromotionCandidates,
|
||||||
|
virtualHalSimConfigEvidenceExpansion: diagnosticsEvidenceExpansion,
|
||||||
virtualHalPromotionCandidateSummary: {
|
virtualHalPromotionCandidateSummary: {
|
||||||
apiName: "real-browser-simulation-promotion-candidate-summary",
|
apiName: "real-browser-simulation-promotion-candidate-summary",
|
||||||
summaryVersion: 1,
|
summaryVersion: 1,
|
||||||
@@ -417,9 +434,7 @@
|
|||||||
],
|
],
|
||||||
}),
|
}),
|
||||||
virtualHalCommandScriptFixtures: createVirtualHalCommandScriptFixtureReport({ halState: diagnosticsVirtualHalState }),
|
virtualHalCommandScriptFixtures: createVirtualHalCommandScriptFixtureReport({ halState: diagnosticsVirtualHalState }),
|
||||||
virtualHalMotionControllerMatrix: createVirtualHalMotionControllerMatrixReport({
|
virtualHalMotionControllerMatrix: diagnosticsMotionControllerMatrix,
|
||||||
manifestEntries: VIRTUAL_HAL_MOTION_MATRIX_MANIFEST_ENTRIES,
|
|
||||||
}),
|
|
||||||
};
|
};
|
||||||
const diagnosticsSessionNestedArtifact = { ...diagnosticsArtifact };
|
const diagnosticsSessionNestedArtifact = { ...diagnosticsArtifact };
|
||||||
diagnosticsArtifact.virtualHalSessionDiagnostics = {
|
diagnosticsArtifact.virtualHalSessionDiagnostics = {
|
||||||
@@ -831,6 +846,44 @@
|
|||||||
"17 source files",
|
"17 source files",
|
||||||
"workflow overview fixed URL workflow form source file count row",
|
"workflow overview fixed URL workflow form source file count row",
|
||||||
);
|
);
|
||||||
|
assertEqual(
|
||||||
|
workflowDoc.querySelector("[data-workflow-overview-promotion-candidate-drilldown]").dataset.handoffReady,
|
||||||
|
"true",
|
||||||
|
"workflow overview promotion candidate drilldown ready dataset",
|
||||||
|
);
|
||||||
|
assertEqual(
|
||||||
|
workflowDoc.querySelector("[data-workflow-overview-promotion-candidate-drilldown]").dataset.candidateId,
|
||||||
|
"qtdragon-multi-joint-on-abort",
|
||||||
|
"workflow overview promotion candidate drilldown candidate dataset",
|
||||||
|
);
|
||||||
|
assertEqual(
|
||||||
|
workflowDoc.querySelectorAll(
|
||||||
|
'[data-workflow-overview-promotion-candidate-drilldown-evidence-ready="true"]',
|
||||||
|
).length,
|
||||||
|
16,
|
||||||
|
"workflow overview promotion candidate drilldown evidence-ready DOM nodes",
|
||||||
|
);
|
||||||
|
assertEqual(
|
||||||
|
workflowDoc.querySelector(
|
||||||
|
'[data-workflow-overview-promotion-candidate-drilldown-value="evidence-7"]',
|
||||||
|
)?.textContent,
|
||||||
|
"linuxcnc/configs/sim/axis/vismach/puma/puma_seam_weld.ngc",
|
||||||
|
"workflow overview promotion candidate drilldown PUMA evidence row",
|
||||||
|
);
|
||||||
|
assertEqual(
|
||||||
|
workflowDoc.querySelector(
|
||||||
|
'[data-workflow-overview-promotion-candidate-drilldown-value="evidence-7"]',
|
||||||
|
)?.dataset.workflowOverviewPromotionCandidateDrilldownFamilyId,
|
||||||
|
"vismach-remap-sims",
|
||||||
|
"workflow overview promotion candidate drilldown PUMA family",
|
||||||
|
);
|
||||||
|
assertEqual(
|
||||||
|
workflowDoc.querySelector(
|
||||||
|
'[data-workflow-overview-promotion-candidate-drilldown-value="evidence-7"]',
|
||||||
|
)?.dataset.workflowOverviewPromotionCandidateDrilldownSourceFileCount,
|
||||||
|
"3",
|
||||||
|
"workflow overview promotion candidate drilldown PUMA source count",
|
||||||
|
);
|
||||||
assertEqual(
|
assertEqual(
|
||||||
workflowDoc.querySelector('[data-workflow-overview-release-readiness-artifact-url-workflow-action-plan-value="next-command"]').textContent,
|
workflowDoc.querySelector('[data-workflow-overview-release-readiness-artifact-url-workflow-action-plan-value="next-command"]').textContent,
|
||||||
"none",
|
"none",
|
||||||
|
|||||||
Reference in New Issue
Block a user