fix(e2e): keep plugin binding escape smoke focused · openclaw/openclaw@823c38a
vincentkoc
·
2026-05-31
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -11,7 +11,7 @@ IMAGE_NAME="${OPENCLAW_PLUGIN_BINDING_COMMAND_ESCAPE_E2E_IMAGE:-openclaw-plugin-
|
11 | 11 | CONTAINER_NAME="openclaw-plugin-binding-command-escape-e2e-$$" |
12 | 12 | DOCKER_RUN_TIMEOUT="${OPENCLAW_PLUGIN_BINDING_COMMAND_ESCAPE_DOCKER_RUN_TIMEOUT:-900s}" |
13 | 13 | RUN_LOG="$(mktemp -t openclaw-plugin-binding-command-escape-log.XXXXXX)" |
14 | | -FOCUSED_TEST_REGEX="lets authorized plugin-owned binding commands fall through to command processing|keeps authorized unknown slash text in a plugin-owned binding routed to the bound plugin|keeps unauthorized plugin-owned binding slash text routed to the bound plugin" |
| 14 | +FOCUSED_TEST_REGEX="lets authorized plugin-owned binding commands fall through to command processing|keeps authorized unknown slash text in a plugin-owned binding routed to the bound plugin|keeps unauthorized plugin-owned binding slash replies suppressed while routed to the bound plugin" |
15 | 15 | |
16 | 16 | cleanup() { |
17 | 17 | docker_e2e_docker_cmd rm -f "$CONTAINER_NAME" >/dev/null 2>&1 || true |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -1776,6 +1776,12 @@ test -f "$TMPDIR/docker-cmd-seen"
|
1776 | 1776 | ); |
1777 | 1777 | expect(runner).toContain('docker_e2e_docker_cmd rm -f "$CONTAINER_NAME"'); |
1778 | 1778 | expect(runner).not.toMatch(/(^|\n)docker run --rm/u); |
| 1779 | +expect(runner).toContain( |
| 1780 | +"keeps unauthorized plugin-owned binding slash replies suppressed while routed to the bound plugin", |
| 1781 | +); |
| 1782 | +expect(runner).not.toContain( |
| 1783 | +"keeps unauthorized plugin-owned binding slash text routed to the bound plugin", |
| 1784 | +); |
1779 | 1785 | expect(runner).toContain("expected focused Vitest summary for exactly 3 passed tests"); |
1780 | 1786 | expect(dockerfile).toContain("OPENCLAW_DISABLE_BUNDLED_PLUGIN_POSTINSTALL=1"); |
1781 | 1787 | expect(dockerfile).toContain( |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。