mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 14:20:44 +00:00
test(tooling): align plugin prerelease expectations
This commit is contained in:
@@ -284,7 +284,9 @@ describe("docker build helper", () => {
|
||||
expect(clawhub).toContain("OPENCLAW_PLUGINS_E2E_LIVE_CLAWHUB");
|
||||
expect(clawhub).toContain("OPENCLAW_PLUGINS_E2E_LIVE_NPM_REGISTRY");
|
||||
expect(clawhub).toContain("live ClawHub can rate-limit CI");
|
||||
expect(clawhub).toContain('[[ -z "${OPENCLAW_CLAWHUB_URL:-}" && -z "${CLAWHUB_URL:-}" ]]');
|
||||
expect(clawhub).toContain('[[ -n "${OPENCLAW_CLAWHUB_URL:-}" || -n "${CLAWHUB_URL:-}" ]]');
|
||||
expect(clawhub).toContain("Ignoring ambient ClawHub URL for fixture-mode plugin E2E");
|
||||
expect(clawhub).toContain("unset OPENCLAW_CLAWHUB_URL CLAWHUB_URL");
|
||||
});
|
||||
|
||||
it("covers plugin install/update sources in the Docker plugin sweep", () => {
|
||||
|
||||
@@ -36,6 +36,7 @@ describe("scripts/lib/plugin-prerelease-test-plan.mjs", () => {
|
||||
|
||||
expect(plan.dockerLanes).toEqual([
|
||||
"npm-onboard-channel-agent",
|
||||
"npm-onboard-discord-channel-agent",
|
||||
"doctor-switch",
|
||||
"update-channel-switch",
|
||||
"plugins-offline",
|
||||
@@ -98,14 +99,14 @@ describe("scripts/lib/plugin-prerelease-test-plan.mjs", () => {
|
||||
stateScenario: "empty",
|
||||
}),
|
||||
);
|
||||
expect(script).toContain("npm:@openclaw/kitchen-sink@latest");
|
||||
expect(script).toContain("npm-latest-conformance");
|
||||
expect(script).toContain("npm-latest-adversarial");
|
||||
expect(script).toContain("npm:@openclaw/kitchen-sink@0.1.5");
|
||||
expect(script).toContain("npm-pinned-conformance");
|
||||
expect(script).toContain("npm-pinned-adversarial");
|
||||
expect(script).toContain("npm:@openclaw/kitchen-sink@beta");
|
||||
expect(script).toContain("clawhub:@openclaw/kitchen-sink@latest");
|
||||
expect(script).toContain("clawhub:@openclaw/kitchen-sink@beta");
|
||||
expect(script).toContain(
|
||||
"npm-to-clawhub|clawhub:@openclaw/kitchen-sink@latest|openclaw-kitchen-sink-fixture|clawhub|success|basic||npm:@openclaw/kitchen-sink@latest",
|
||||
"npm-to-clawhub|clawhub:@openclaw/kitchen-sink@latest|openclaw-kitchen-sink-fixture|clawhub|success|basic||${KITCHEN_SINK_NPM_SPEC}",
|
||||
);
|
||||
expect(script).toContain("scripts/e2e/lib/kitchen-sink-plugin/sweep.sh");
|
||||
expect(sweepScript).toContain('plugins install "$KITCHEN_SINK_SPEC"');
|
||||
|
||||
Reference in New Issue
Block a user