test: add upgrade survivor package lane

This commit is contained in:
Peter Steinberger
2026-04-30 18:06:57 +01:00
parent 7969f1f07c
commit 7beebc9afc
14 changed files with 730 additions and 6 deletions

View File

@@ -174,6 +174,7 @@ describe("scripts/lib/docker-e2e-plan", () => {
"npm-onboard-channel-agent",
"doctor-switch",
"update-channel-switch",
"upgrade-survivor",
]);
expect(packageUpdateCore.lanes).toEqual(
expect.arrayContaining([
@@ -189,6 +190,10 @@ describe("scripts/lib/docker-e2e-plan", () => {
name: "update-channel-switch",
stateScenario: "update-stable",
}),
expect.objectContaining({
name: "upgrade-survivor",
stateScenario: "upgrade-survivor",
}),
]),
);
expect(pluginsRuntimePlugins.lanes.map((lane) => lane.name)).toEqual(["plugins"]);
@@ -394,6 +399,7 @@ describe("scripts/lib/docker-e2e-plan", () => {
"bundled-channel-setup-entry",
"bundled-plugin-install-uninstall-0",
"update-channel-switch",
"upgrade-survivor",
],
});
@@ -474,6 +480,10 @@ describe("scripts/lib/docker-e2e-plan", () => {
name: "update-channel-switch",
stateScenario: "update-stable",
}),
expect.objectContaining({
name: "upgrade-survivor",
stateScenario: "upgrade-survivor",
}),
]);
});