From 42364befb1a6b08bcafad2f987e4c4c0a6df1103 Mon Sep 17 00:00:00 2001 From: Suzumiya Date: Sun, 4 Oct 2026 19:43:27 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=8C=E6=AD=A5=E5=8F=91=E5=B8=83=E9=9D=A2?= =?UTF-8?q?=E6=9D=BF=E6=B5=8B=E8=AF=95=EF=BC=9A=E5=88=A0=E9=99=A4=E5=B7=B2?= =?UTF-8?q?=E5=BA=9F=E5=BC=83=E7=9A=84=E3=80=8C=E6=8C=89=E9=A6=96=E7=89=88?= =?UTF-8?q?=E3=80=8D=E6=8F=90=E7=A4=BA=E6=96=AD=E8=A8=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - tests/gameDistributionPublishPanel.test.tsx:删除「已有绑定时进入更新模式,回填线上资料并按派生项目版本提交原 gameId」用例中对 /本次发布按首版 v1。/ 的断言(该文案随 5a651f3ea 删除 projectVersionHint 一并下线,属遗漏同步) - 版本派生本身仍由同用例的「项目版本」只读值 1、提交参数 versionNumber=1 覆盖,断言能力未削弱 --- .../tests/gameDistributionPublishPanel.test.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/apps/ai-game-creator-shell/tests/gameDistributionPublishPanel.test.tsx b/apps/ai-game-creator-shell/tests/gameDistributionPublishPanel.test.tsx index cac8a5333..f0f071c79 100644 --- a/apps/ai-game-creator-shell/tests/gameDistributionPublishPanel.test.tsx +++ b/apps/ai-game-creator-shell/tests/gameDistributionPublishPanel.test.tsx @@ -746,7 +746,6 @@ describe('GameDistributionPublishPanel', () => { expect(versionInput).toHaveProperty('readOnly', true); expect(screen.getByText('v1')).not.toBeNull(); expect(screen.getByText(/线上最近提交 v2 · 审核中/u)).not.toBeNull(); - expect(screen.getByText(/本次发布按首版 v1。/u)).not.toBeNull(); fireEvent.click(screen.getByRole('button', { name: '更新游戏' })); await waitFor(() =>