mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 09:50:42 +00:00
test(release): runtime inspect kitchen sink surfaces
This commit is contained in:
@@ -81,8 +81,8 @@ run_success_scenario() {
|
||||
configure_kitchen_sink_runtime
|
||||
run_logged_print "kitchen-sink-enable-${KITCHEN_SINK_LABEL}" node "$OPENCLAW_ENTRY" plugins enable "$KITCHEN_SINK_ID"
|
||||
node "$OPENCLAW_ENTRY" plugins list --json >"/tmp/kitchen-sink-${KITCHEN_SINK_LABEL}-plugins.json"
|
||||
node "$OPENCLAW_ENTRY" plugins inspect "$KITCHEN_SINK_ID" --json >"/tmp/kitchen-sink-${KITCHEN_SINK_LABEL}-inspect.json"
|
||||
node "$OPENCLAW_ENTRY" plugins inspect --all --json >"/tmp/kitchen-sink-${KITCHEN_SINK_LABEL}-inspect-all.json"
|
||||
node "$OPENCLAW_ENTRY" plugins inspect "$KITCHEN_SINK_ID" --runtime --json >"/tmp/kitchen-sink-${KITCHEN_SINK_LABEL}-inspect.json"
|
||||
node "$OPENCLAW_ENTRY" plugins inspect --all --runtime --json >"/tmp/kitchen-sink-${KITCHEN_SINK_LABEL}-inspect-all.json"
|
||||
assert_kitchen_sink_installed
|
||||
if [ "$KITCHEN_SINK_SOURCE" = "clawhub" ]; then
|
||||
run_logged_print "kitchen-sink-uninstall-${KITCHEN_SINK_LABEL}" node "$OPENCLAW_ENTRY" plugins uninstall "$KITCHEN_SINK_SPEC" --force
|
||||
|
||||
@@ -119,6 +119,8 @@ describe("scripts/lib/plugin-prerelease-test-plan.mjs", () => {
|
||||
expect(successScenario.indexOf("configure_kitchen_sink_runtime")).toBeLessThan(
|
||||
successScenario.indexOf('plugins enable "$KITCHEN_SINK_ID"'),
|
||||
);
|
||||
expect(successScenario).toContain('plugins inspect "$KITCHEN_SINK_ID" --runtime --json');
|
||||
expect(successScenario).toContain("plugins inspect --all --runtime --json");
|
||||
expect(sweepScript).toContain("run_failure_scenario");
|
||||
expect(assertionsScript).toContain("record.source !== source");
|
||||
expect(assertionsScript).toContain("record.clawhubPackage !== packageName");
|
||||
|
||||
Reference in New Issue
Block a user