From 677b9953dd7e337ab9d3e688f0b6b588ed03b174 Mon Sep 17 00:00:00 2001 From: Linghong Date: Wed, 16 Sep 2026 06:35:51 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=8C=E6=AD=A5=E5=B7=A5=E5=85=B7=E8=B0=83?= =?UTF-8?q?=E7=94=A8=E8=BF=9B=E8=A1=8C=E4=B8=AD=E6=96=87=E6=A1=88=E6=96=AD?= =?UTF-8?q?=E8=A8=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 兼容当前进行中状态使用的命令数量摘要。 --- .../tests/appSurface/project-development.suite.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/ai-game-creator-shell/tests/appSurface/project-development.suite.ts b/apps/ai-game-creator-shell/tests/appSurface/project-development.suite.ts index afc4d9ba8..0136a059a 100644 --- a/apps/ai-game-creator-shell/tests/appSurface/project-development.suite.ts +++ b/apps/ai-game-creator-shell/tests/appSurface/project-development.suite.ts @@ -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),