推进 INI 面板 shell handoff package report
This commit is contained in:
@@ -84,6 +84,7 @@
|
||||
!launchApi?.getShellSessionHandoffChecklist ||
|
||||
!launchApi?.getShellSessionHandoffPackageSchema ||
|
||||
!launchApi?.getShellSessionHandoffPackage ||
|
||||
!launchApi?.getShellSessionHandoffPackageReport ||
|
||||
!launchApi?.isSupportedShellSessionHandoffPackage ||
|
||||
!launchApi?.getLauncherLinks ||
|
||||
!launchApi?.getControlPageApiMethods
|
||||
@@ -124,7 +125,7 @@
|
||||
);
|
||||
assertEqual(
|
||||
launchApiManifest.methods.join(","),
|
||||
"isSupportedLaunchApiManifest,getLaunchApiSchema,getLaunchApiManifest,getShellIntegrationSchema,getShellIntegrationManifest,getShellIntegrationReadiness,getShellSessionHandoffSummarySchema,getShellSessionHandoffSummary,isSupportedShellSessionHandoffSummary,getShellSessionHandoffCompatibilityReport,getShellSessionHandoffDisplayViewModel,getShellSessionHandoffSnapshot,getShellSessionHandoffRenderState,getShellSessionHandoffActionPlan,getShellSessionHandoffChecklist,getShellSessionHandoffPackageSchema,getShellSessionHandoffPackage,isSupportedShellSessionHandoffPackage,getLauncherLinks,getControlPageApiMethods",
|
||||
"isSupportedLaunchApiManifest,getLaunchApiSchema,getLaunchApiManifest,getShellIntegrationSchema,getShellIntegrationManifest,getShellIntegrationReadiness,getShellSessionHandoffSummarySchema,getShellSessionHandoffSummary,isSupportedShellSessionHandoffSummary,getShellSessionHandoffCompatibilityReport,getShellSessionHandoffDisplayViewModel,getShellSessionHandoffSnapshot,getShellSessionHandoffRenderState,getShellSessionHandoffActionPlan,getShellSessionHandoffChecklist,getShellSessionHandoffPackageSchema,getShellSessionHandoffPackage,getShellSessionHandoffPackageReport,isSupportedShellSessionHandoffPackage,getLauncherLinks,getControlPageApiMethods",
|
||||
"launch API manifest methods",
|
||||
);
|
||||
const shellIntegrationSchema = launchApi.getShellIntegrationSchema();
|
||||
@@ -140,6 +141,7 @@
|
||||
const shellSessionHandoffChecklist = launchApi.getShellSessionHandoffChecklist();
|
||||
const shellSessionHandoffPackageSchema = launchApi.getShellSessionHandoffPackageSchema();
|
||||
const shellSessionHandoffPackage = launchApi.getShellSessionHandoffPackage();
|
||||
const shellSessionHandoffPackageReport = launchApi.getShellSessionHandoffPackageReport();
|
||||
assertEqual(
|
||||
shellIntegrationSchema.manifestVersion,
|
||||
1,
|
||||
@@ -310,6 +312,21 @@
|
||||
false,
|
||||
"shell session handoff package rejects version",
|
||||
);
|
||||
assertEqual(
|
||||
shellSessionHandoffPackageReport.ready,
|
||||
true,
|
||||
"shell session handoff package report readiness",
|
||||
);
|
||||
assertEqual(
|
||||
shellSessionHandoffPackageReport.rows.length,
|
||||
6,
|
||||
"shell session handoff package report rows",
|
||||
);
|
||||
assertEqual(
|
||||
shellSessionHandoffPackageReport.missingPackageFields.join(","),
|
||||
"",
|
||||
"shell session handoff package report missing fields",
|
||||
);
|
||||
assertEqual(
|
||||
shellSessionHandoffPackage.ready,
|
||||
true,
|
||||
|
||||
@@ -75,6 +75,7 @@ TOOL_TABLE = browser-shell-tool.tbl
|
||||
!launchApi?.getShellSessionHandoffChecklist ||
|
||||
!launchApi?.getShellSessionHandoffPackageSchema ||
|
||||
!launchApi?.getShellSessionHandoffPackage ||
|
||||
!launchApi?.getShellSessionHandoffPackageReport ||
|
||||
!launchApi?.isSupportedShellSessionHandoffPackage
|
||||
) {
|
||||
throw new Error("launch API namespace did not expose shell integration helpers");
|
||||
@@ -92,6 +93,7 @@ TOOL_TABLE = browser-shell-tool.tbl
|
||||
const handoffChecklist = launchApi.getShellSessionHandoffChecklist();
|
||||
const handoffPackageSchema = launchApi.getShellSessionHandoffPackageSchema();
|
||||
const handoffPackage = launchApi.getShellSessionHandoffPackage();
|
||||
const handoffPackageReport = launchApi.getShellSessionHandoffPackageReport();
|
||||
assertEqual(handoffSummarySchema.summaryVersion, 1, "shell handoff summary schema version");
|
||||
assertEqual(
|
||||
launchApi.isSupportedShellSessionHandoffSummary(handoffSummary),
|
||||
@@ -134,6 +136,9 @@ TOOL_TABLE = browser-shell-tool.tbl
|
||||
true,
|
||||
"shell handoff package supported",
|
||||
);
|
||||
assertEqual(handoffPackageReport.ready, true, "shell handoff package report readiness");
|
||||
assertEqual(handoffPackageReport.packageSupported, true, "shell handoff package report support");
|
||||
assertEqual(handoffPackageReport.rows.length, 6, "shell handoff package report rows");
|
||||
assertEqual(handoffPackage.checklist.ready, handoffChecklist.ready, "shell handoff package checklist");
|
||||
assertEqual(
|
||||
handoffPackage.actionPlan.nextSteps.map(({ id }) => id).join(","),
|
||||
|
||||
@@ -23,6 +23,7 @@ import {
|
||||
createIniPanelShellSessionHandoffCompatibilityReport,
|
||||
createIniPanelShellSessionHandoffDisplayViewModel,
|
||||
createIniPanelShellSessionHandoffPackage,
|
||||
createIniPanelShellSessionHandoffPackageReport,
|
||||
createIniPanelShellSessionHandoffPackageSchema,
|
||||
createIniPanelShellSessionHandoffRenderState,
|
||||
createIniPanelShellSessionHandoffSnapshot,
|
||||
@@ -82,6 +83,7 @@ const requiredShellExports = [
|
||||
"createIniPanelShellSessionHandoffCompatibilityReport",
|
||||
"createIniPanelShellSessionHandoffDisplayViewModel",
|
||||
"createIniPanelShellSessionHandoffPackage",
|
||||
"createIniPanelShellSessionHandoffPackageReport",
|
||||
"createIniPanelShellSessionHandoffPackageSchema",
|
||||
"createIniPanelShellSessionHandoffRenderState",
|
||||
"createIniPanelShellSessionHandoffSnapshot",
|
||||
@@ -230,6 +232,10 @@ assert.deepEqual(
|
||||
createIniPanelShellViewModel().shellSessionHandoffPackageSchema,
|
||||
createIniPanelShellSessionHandoffPackageSchema(),
|
||||
);
|
||||
assert.deepEqual(
|
||||
createIniPanelShellViewModel().shellSessionHandoffPackageReport,
|
||||
createIniPanelShellSessionHandoffPackageReport(createIniPanelShellViewModel().shellSessionHandoffPackage),
|
||||
);
|
||||
assert.equal(isSupportedIniPanelShellSessionHandoffPackage(createIniPanelShellViewModel().shellSessionHandoffPackage), true);
|
||||
assert.equal(isSupportedIniPanelShellIntegrationManifest(createIniPanelShellViewModel().shellIntegrationManifest), true);
|
||||
assert.deepEqual(createIniPanelShellViewModel().launchApiSchema, createIniPanelLaunchApiSchema());
|
||||
@@ -290,6 +296,7 @@ assert.match(shellText, /\bexport function createIniPanelShellSessionHandoffChec
|
||||
assert.match(shellText, /\bexport function createIniPanelShellSessionHandoffCompatibilityReport\b/);
|
||||
assert.match(shellText, /\bexport function createIniPanelShellSessionHandoffDisplayViewModel\b/);
|
||||
assert.match(shellText, /\bexport function createIniPanelShellSessionHandoffPackage\b/);
|
||||
assert.match(shellText, /\bexport function createIniPanelShellSessionHandoffPackageReport\b/);
|
||||
assert.match(shellText, /\bexport function createIniPanelShellSessionHandoffPackageSchema\b/);
|
||||
assert.match(shellText, /\bexport function createIniPanelShellSessionHandoffRenderState\b/);
|
||||
assert.match(shellText, /\bexport function createIniPanelShellSessionHandoffSnapshot\b/);
|
||||
@@ -322,6 +329,7 @@ assert.match(launchText, /\bgetShellSessionHandoffActionPlan\b/);
|
||||
assert.match(launchText, /\bgetShellSessionHandoffChecklist\b/);
|
||||
assert.match(launchText, /\bgetShellSessionHandoffPackageSchema\b/);
|
||||
assert.match(launchText, /\bgetShellSessionHandoffPackage\b/);
|
||||
assert.match(launchText, /\bgetShellSessionHandoffPackageReport\b/);
|
||||
assert.match(launchText, /\bisSupportedShellSessionHandoffPackage\b/);
|
||||
assert.match(launchText, /\bdata-handoff-shell\b/);
|
||||
assert.match(launchText, /\bdata-handoff-status\b/);
|
||||
@@ -349,6 +357,7 @@ assert.match(docText, /\bcreateIniPanelShellSessionHandoffChecklist\b/);
|
||||
assert.match(docText, /\bcreateIniPanelShellSessionHandoffCompatibilityReport\b/);
|
||||
assert.match(docText, /\bcreateIniPanelShellSessionHandoffDisplayViewModel\b/);
|
||||
assert.match(docText, /\bcreateIniPanelShellSessionHandoffPackage\b/);
|
||||
assert.match(docText, /\bcreateIniPanelShellSessionHandoffPackageReport\b/);
|
||||
assert.match(docText, /\bcreateIniPanelShellSessionHandoffPackageSchema\b/);
|
||||
assert.match(docText, /\bcreateIniPanelShellSessionHandoffRenderState\b/);
|
||||
assert.match(docText, /\bcreateIniPanelShellSessionHandoffSnapshot\b/);
|
||||
@@ -376,6 +385,7 @@ assert.match(docText, /\blinuxCncIniPanelLaunchApi\.getShellSessionHandoffAction
|
||||
assert.match(docText, /\blinuxCncIniPanelLaunchApi\.getShellSessionHandoffChecklist\b/);
|
||||
assert.match(docText, /\blinuxCncIniPanelLaunchApi\.getShellSessionHandoffPackageSchema\b/);
|
||||
assert.match(docText, /\blinuxCncIniPanelLaunchApi\.getShellSessionHandoffPackage\b/);
|
||||
assert.match(docText, /\blinuxCncIniPanelLaunchApi\.getShellSessionHandoffPackageReport\b/);
|
||||
assert.match(docText, /\blinuxCncIniPanelLaunchApi\.isSupportedShellSessionHandoffPackage\b/);
|
||||
assert.match(docText, /\bdata-handoff-shell\b/);
|
||||
assert.match(docText, /\bdata-handoff-status\b/);
|
||||
@@ -394,6 +404,7 @@ assert.match(shellIntegrationWorkflowSmokeText, /\bgetShellSessionHandoffActionP
|
||||
assert.match(shellIntegrationWorkflowSmokeText, /\bgetShellSessionHandoffChecklist\b/);
|
||||
assert.match(shellIntegrationWorkflowSmokeText, /\bgetShellSessionHandoffPackageSchema\b/);
|
||||
assert.match(shellIntegrationWorkflowSmokeText, /\bgetShellSessionHandoffPackage\b/);
|
||||
assert.match(shellIntegrationWorkflowSmokeText, /\bgetShellSessionHandoffPackageReport\b/);
|
||||
assert.match(shellIntegrationWorkflowSmokeText, /\bisSupportedShellSessionHandoffPackage\b/);
|
||||
assert.match(shellIntegrationWorkflowSmokeText, /\bhandoffSummary\.handoffMethods\.readStatus\b/);
|
||||
assert.match(shellIntegrationWorkflowSmokeText, /\breadControlPageStatus\b/);
|
||||
|
||||
@@ -57,6 +57,7 @@ assert.deepEqual(manifest, {
|
||||
"getShellSessionHandoffChecklist",
|
||||
"getShellSessionHandoffPackageSchema",
|
||||
"getShellSessionHandoffPackage",
|
||||
"getShellSessionHandoffPackageReport",
|
||||
"isSupportedShellSessionHandoffPackage",
|
||||
"getLauncherLinks",
|
||||
"getControlPageApiMethods",
|
||||
@@ -169,6 +170,7 @@ assert.match(launchText, /\bgetShellSessionHandoffActionPlan\b/);
|
||||
assert.match(launchText, /\bgetShellSessionHandoffChecklist\b/);
|
||||
assert.match(launchText, /\bgetShellSessionHandoffPackageSchema\b/);
|
||||
assert.match(launchText, /\bgetShellSessionHandoffPackage\b/);
|
||||
assert.match(launchText, /\bgetShellSessionHandoffPackageReport\b/);
|
||||
assert.match(launchText, /\bisSupportedShellSessionHandoffPackage\b/);
|
||||
assert.match(launchText, /\blinuxCncIniPanelLaunchApi\b/);
|
||||
|
||||
|
||||
@@ -19,6 +19,7 @@ import {
|
||||
createIniPanelShellSessionHandoffCompatibilityReport,
|
||||
createIniPanelShellSessionHandoffDisplayViewModel,
|
||||
createIniPanelShellSessionHandoffPackage,
|
||||
createIniPanelShellSessionHandoffPackageReport,
|
||||
createIniPanelShellSessionHandoffPackageSchema,
|
||||
createIniPanelShellSessionHandoffRenderState,
|
||||
createIniPanelShellSessionHandoffSnapshot,
|
||||
@@ -69,6 +70,7 @@ const handoffPackage = createIniPanelShellSessionHandoffPackage({
|
||||
checklist: handoffChecklist,
|
||||
});
|
||||
const handoffPackageSchema = createIniPanelShellSessionHandoffPackageSchema();
|
||||
const handoffPackageReport = createIniPanelShellSessionHandoffPackageReport(handoffPackage);
|
||||
|
||||
assert.deepEqual(schema, {
|
||||
apiName: "ini-panel-shell-integration",
|
||||
@@ -124,7 +126,7 @@ assert.deepEqual(readiness, {
|
||||
counts: {
|
||||
pages: 2,
|
||||
launcherLinks: 2,
|
||||
launchMethods: 20,
|
||||
launchMethods: 21,
|
||||
controlPageMethods: 11,
|
||||
persistenceCapabilities: 3,
|
||||
},
|
||||
@@ -186,7 +188,7 @@ assert.deepEqual(handoffSummary, {
|
||||
counts: {
|
||||
pages: 2,
|
||||
launcherLinks: 2,
|
||||
launchMethods: 20,
|
||||
launchMethods: 21,
|
||||
controlPageMethods: 11,
|
||||
persistenceCapabilities: 3,
|
||||
},
|
||||
@@ -468,6 +470,80 @@ assert.deepEqual(handoffPackageSchema, {
|
||||
"controlPageMethods",
|
||||
],
|
||||
});
|
||||
assert.deepEqual(handoffPackageReport, {
|
||||
apiName: "ini-panel-shell-session-handoff-package-report",
|
||||
reportVersion: 1,
|
||||
phase: "ready",
|
||||
ready: true,
|
||||
packageSupported: true,
|
||||
packageReady: true,
|
||||
statusLine: "Ready: No blocking reasons",
|
||||
schema: {
|
||||
apiName: "ini-panel-shell-session-handoff-package",
|
||||
packageVersion: 1,
|
||||
fields: [
|
||||
"apiName",
|
||||
"packageVersion",
|
||||
"phase",
|
||||
"ready",
|
||||
"statusLine",
|
||||
"manifests",
|
||||
"snapshot",
|
||||
"renderState",
|
||||
"actionPlan",
|
||||
"checklist",
|
||||
],
|
||||
manifestFields: [
|
||||
"shellIntegration",
|
||||
"launchApi",
|
||||
"controlPageApi",
|
||||
"launchMethods",
|
||||
"controlPageMethods",
|
||||
],
|
||||
},
|
||||
package: {
|
||||
apiName: "ini-panel-shell-session-handoff-package",
|
||||
packageVersion: 1,
|
||||
phase: "ready",
|
||||
ready: true,
|
||||
},
|
||||
missingPackageFields: [],
|
||||
missingManifestFields: [],
|
||||
mismatchFields: [],
|
||||
blockingReasons: [],
|
||||
rows: [
|
||||
{
|
||||
id: "package-supported",
|
||||
label: "Package schema",
|
||||
value: "supported",
|
||||
},
|
||||
{
|
||||
id: "package-ready",
|
||||
label: "Package readiness",
|
||||
value: "ready",
|
||||
},
|
||||
{
|
||||
id: "missing-package-fields",
|
||||
label: "Missing package fields",
|
||||
value: "none",
|
||||
},
|
||||
{
|
||||
id: "missing-manifest-fields",
|
||||
label: "Missing manifest fields",
|
||||
value: "none",
|
||||
},
|
||||
{
|
||||
id: "mismatch-fields",
|
||||
label: "Mismatched fields",
|
||||
value: "none",
|
||||
},
|
||||
{
|
||||
id: "blocking-reasons",
|
||||
label: "Blocking reasons",
|
||||
value: "none",
|
||||
},
|
||||
],
|
||||
});
|
||||
assert.equal(isSupportedIniPanelShellSessionHandoffPackage(handoffPackage), true);
|
||||
assert.equal(
|
||||
isSupportedIniPanelShellSessionHandoffPackage({ ...handoffPackage, packageVersion: 2 }),
|
||||
@@ -494,12 +570,25 @@ const missingManifestField = {
|
||||
delete missingManifestField.manifests.controlPageMethods;
|
||||
assert.equal(isSupportedIniPanelShellSessionHandoffPackage(missingManifestField), false);
|
||||
assert.equal(isSupportedIniPanelShellSessionHandoffPackage(null), false);
|
||||
assert.deepEqual(
|
||||
createIniPanelShellSessionHandoffPackageReport({ ...handoffPackage, packageVersion: 2 }).mismatchFields,
|
||||
["packageVersion"],
|
||||
);
|
||||
assert.deepEqual(
|
||||
createIniPanelShellSessionHandoffPackageReport(missingManifestField).missingManifestFields,
|
||||
["controlPageMethods"],
|
||||
);
|
||||
assert.deepEqual(
|
||||
createIniPanelShellSessionHandoffPackageReport(null).missingPackageFields,
|
||||
handoffPackageSchema.fields,
|
||||
);
|
||||
assert.equal(createIniPanelShellSessionHandoffSnapshot().displayViewModel.rows.length, 5);
|
||||
assert.equal(createIniPanelShellSessionHandoffRenderState().statusLine, "Ready: No blocking reasons");
|
||||
assert.equal(createIniPanelShellSessionHandoffActionPlan().nextSteps.length, 2);
|
||||
assert.equal(createIniPanelShellSessionHandoffChecklist().checks.length, 5);
|
||||
assert.equal(createIniPanelShellSessionHandoffPackage().manifests.launchMethods.includes("getShellSessionHandoffPackage"), true);
|
||||
assert.equal(isSupportedIniPanelShellSessionHandoffPackage(createIniPanelShellSessionHandoffPackage()), true);
|
||||
assert.equal(createIniPanelShellSessionHandoffPackageReport().rows.length, 6);
|
||||
assert.deepEqual(
|
||||
createIniPanelShellSessionHandoffDisplayViewModel(
|
||||
createIniPanelShellSessionHandoffCompatibilityReport({ ...handoffSummary, summaryVersion: 2 }),
|
||||
@@ -716,7 +805,7 @@ assert.deepEqual(createIniPanelShellIntegrationReadiness(blockedManifest), {
|
||||
counts: {
|
||||
pages: 2,
|
||||
launcherLinks: 2,
|
||||
launchMethods: 20,
|
||||
launchMethods: 21,
|
||||
controlPageMethods: 11,
|
||||
persistenceCapabilities: 3,
|
||||
},
|
||||
@@ -881,6 +970,7 @@ assert.match(shellText, /\bexport function createIniPanelShellSessionHandoffChec
|
||||
assert.match(shellText, /\bexport function createIniPanelShellSessionHandoffCompatibilityReport\b/);
|
||||
assert.match(shellText, /\bexport function createIniPanelShellSessionHandoffDisplayViewModel\b/);
|
||||
assert.match(shellText, /\bexport function createIniPanelShellSessionHandoffPackage\b/);
|
||||
assert.match(shellText, /\bexport function createIniPanelShellSessionHandoffPackageReport\b/);
|
||||
assert.match(shellText, /\bexport function createIniPanelShellSessionHandoffPackageSchema\b/);
|
||||
assert.match(shellText, /\bexport function createIniPanelShellSessionHandoffRenderState\b/);
|
||||
assert.match(shellText, /\bexport function createIniPanelShellSessionHandoffSnapshot\b/);
|
||||
@@ -900,6 +990,7 @@ assert.match(docText, /\bcreateIniPanelShellSessionHandoffChecklist\b/);
|
||||
assert.match(docText, /\bcreateIniPanelShellSessionHandoffCompatibilityReport\b/);
|
||||
assert.match(docText, /\bcreateIniPanelShellSessionHandoffDisplayViewModel\b/);
|
||||
assert.match(docText, /\bcreateIniPanelShellSessionHandoffPackage\b/);
|
||||
assert.match(docText, /\bcreateIniPanelShellSessionHandoffPackageReport\b/);
|
||||
assert.match(docText, /\bcreateIniPanelShellSessionHandoffPackageSchema\b/);
|
||||
assert.match(docText, /\bcreateIniPanelShellSessionHandoffRenderState\b/);
|
||||
assert.match(docText, /\bcreateIniPanelShellSessionHandoffSnapshot\b/);
|
||||
|
||||
@@ -19,6 +19,7 @@ import {
|
||||
createIniPanelShellSessionHandoffCompatibilityReport,
|
||||
createIniPanelShellSessionHandoffDisplayViewModel,
|
||||
createIniPanelShellSessionHandoffPackage,
|
||||
createIniPanelShellSessionHandoffPackageReport,
|
||||
createIniPanelShellSessionHandoffPackageSchema,
|
||||
createIniPanelShellSessionHandoffRenderState,
|
||||
createIniPanelShellSessionHandoffSnapshot,
|
||||
@@ -83,6 +84,7 @@ assert.equal(typeof createIniPanelShellSessionHandoffChecklist, "function");
|
||||
assert.equal(typeof createIniPanelShellSessionHandoffCompatibilityReport, "function");
|
||||
assert.equal(typeof createIniPanelShellSessionHandoffDisplayViewModel, "function");
|
||||
assert.equal(typeof createIniPanelShellSessionHandoffPackage, "function");
|
||||
assert.equal(typeof createIniPanelShellSessionHandoffPackageReport, "function");
|
||||
assert.equal(typeof createIniPanelShellSessionHandoffPackageSchema, "function");
|
||||
assert.equal(typeof createIniPanelShellSessionHandoffRenderState, "function");
|
||||
assert.equal(typeof createIniPanelShellSessionHandoffSnapshot, "function");
|
||||
@@ -204,6 +206,10 @@ assert.deepEqual(
|
||||
}),
|
||||
);
|
||||
assert.deepEqual(shellViewModel.shellSessionHandoffPackageSchema, createIniPanelShellSessionHandoffPackageSchema());
|
||||
assert.deepEqual(
|
||||
shellViewModel.shellSessionHandoffPackageReport,
|
||||
createIniPanelShellSessionHandoffPackageReport(shellViewModel.shellSessionHandoffPackage),
|
||||
);
|
||||
assert.equal(isSupportedIniPanelShellSessionHandoffPackage(shellViewModel.shellSessionHandoffPackage), true);
|
||||
assert.deepEqual(shellViewModel.shellSessionHandoffDisplayViewModel, {
|
||||
phase: "ready",
|
||||
@@ -371,6 +377,58 @@ assert.deepEqual(shellViewModel.shellSessionHandoffPackageSchema, {
|
||||
"controlPageMethods",
|
||||
],
|
||||
});
|
||||
assert.deepEqual(shellViewModel.shellSessionHandoffPackageReport, {
|
||||
apiName: "ini-panel-shell-session-handoff-package-report",
|
||||
reportVersion: 1,
|
||||
phase: "ready",
|
||||
ready: true,
|
||||
packageSupported: true,
|
||||
packageReady: true,
|
||||
statusLine: "Ready: No blocking reasons",
|
||||
schema: shellViewModel.shellSessionHandoffPackageSchema,
|
||||
package: {
|
||||
apiName: "ini-panel-shell-session-handoff-package",
|
||||
packageVersion: 1,
|
||||
phase: "ready",
|
||||
ready: true,
|
||||
},
|
||||
missingPackageFields: [],
|
||||
missingManifestFields: [],
|
||||
mismatchFields: [],
|
||||
blockingReasons: [],
|
||||
rows: [
|
||||
{
|
||||
id: "package-supported",
|
||||
label: "Package schema",
|
||||
value: "supported",
|
||||
},
|
||||
{
|
||||
id: "package-ready",
|
||||
label: "Package readiness",
|
||||
value: "ready",
|
||||
},
|
||||
{
|
||||
id: "missing-package-fields",
|
||||
label: "Missing package fields",
|
||||
value: "none",
|
||||
},
|
||||
{
|
||||
id: "missing-manifest-fields",
|
||||
label: "Missing manifest fields",
|
||||
value: "none",
|
||||
},
|
||||
{
|
||||
id: "mismatch-fields",
|
||||
label: "Mismatched fields",
|
||||
value: "none",
|
||||
},
|
||||
{
|
||||
id: "blocking-reasons",
|
||||
label: "Blocking reasons",
|
||||
value: "none",
|
||||
},
|
||||
],
|
||||
});
|
||||
assert.equal(
|
||||
isSupportedIniPanelShellIntegrationManifest(shellViewModel.shellIntegrationManifest),
|
||||
true,
|
||||
@@ -419,6 +477,7 @@ assert.equal(shellViewModel.createShellSessionHandoffRenderState, createIniPanel
|
||||
assert.equal(shellViewModel.createShellSessionHandoffActionPlan, createIniPanelShellSessionHandoffActionPlan);
|
||||
assert.equal(shellViewModel.createShellSessionHandoffChecklist, createIniPanelShellSessionHandoffChecklist);
|
||||
assert.equal(shellViewModel.createShellSessionHandoffPackage, createIniPanelShellSessionHandoffPackage);
|
||||
assert.equal(shellViewModel.createShellSessionHandoffPackageReport, createIniPanelShellSessionHandoffPackageReport);
|
||||
assert.equal(shellViewModel.createShellSessionHandoffPackageSchema, createIniPanelShellSessionHandoffPackageSchema);
|
||||
assert.equal(shellViewModel.isSupportedShellSessionHandoffPackage, isSupportedIniPanelShellSessionHandoffPackage);
|
||||
assert.deepEqual(shellViewModel.controlPage.contract, createIniPanelShellControlPageContract());
|
||||
|
||||
Reference in New Issue
Block a user