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),