From 3c0c2b81044b55ecfa208aefddee54bcf17af7ec Mon Sep 17 00:00:00 2001 From: Linghong Date: Wed, 16 Sep 2026 06:51:26 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=8C=E6=AD=A5=E5=B7=A5=E5=85=B7=E8=A1=8C?= =?UTF-8?q?=E6=91=98=E8=A6=81=E6=96=AD=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 9d452ded9..ff393b351 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 @@ -8476,8 +8476,8 @@ export function registerProjectSupervisorSurfaceTests() { expect(rows[1]?.getAttribute('data-status')).toBe('failed'); const commandRow = rows[0] as HTMLElement; const fileRow = rows[1] as HTMLElement; - expect(within(commandRow).getByText('已运行 npm run build')).not.toBeNull(); - expect(within(fileRow).getByText('已编辑 game/src/hero.ts')).not.toBeNull(); + expect(within(commandRow).getByText('npm run build')).not.toBeNull(); + expect(within(fileRow).getByText('game/src/hero.ts')).not.toBeNull(); expect(within(fileRow).getByText('失败')).not.toBeNull(); // 每行右侧显示该工具自己的耗时(`startedAt` → `updatedAt`)。 expect(commandRow.getAttribute('data-duration-ms')).toBe('100');