同步工具调用进行中文案断言
Project CI / AI game creator shell Rust smoke (pull_request) Has been cancelled
Project CI / AI game creator shell Rust crates (pull_request) Has been cancelled
Project CI / Backend tests (pull_request) Has been cancelled
Project CI / Native shell tests (pull_request) Has been cancelled
Project CI / Frontend tests (pull_request) Has been cancelled
Project CI / Repository checks (pull_request) Has been cancelled
Project CI / AI game creator shell web tests (pull_request) Has been cancelled
Project CI / AI game creator shell Rust shard 1/4 (pull_request) Has been cancelled
Project CI / AI game creator shell Rust shard 2/4 (pull_request) Has been cancelled
Project CI / AI game creator shell Rust shard 3/4 (pull_request) Has been cancelled
Project CI / AI game creator shell Rust shard 4/4 (pull_request) Has been cancelled

兼容当前进行中状态使用的命令数量摘要。
This commit is contained in:
2026-09-16 06:35:51 +08:00
parent 9df73a200a
commit 677b9953dd
@@ -8381,7 +8381,7 @@ export function registerProjectSupervisorSurfaceTests() {
expect(runningBody?.hasAttribute('hidden')).toBe(true);
// 此刻只应看到本回合的那一条命令:不在对话里、也不属于当前回合的 turnId
// 会在 App 侧被过滤掉,不会漂在消息流里。
expect(runningHead.textContent).toContain('已执行 1 个命令');
expect(runningHead.textContent).toContain('1 个命令');
await act(async () => {
directTurnUpdateHandler?.({
@@ -8879,7 +8879,7 @@ export function registerProjectSupervisorSurfaceTests() {
'agent-tool-call-group-head',
);
expect(runningHead.getAttribute('aria-expanded')).toBe('false');
expect(runningHead.textContent).toContain('已执行 1 个命令');
expect(runningHead.textContent).toContain('1 个命令');
const runningChildren = Array.from((messageList as HTMLElement).children);
expect(
runningChildren.findIndex((node) => node === runningGroup),