From 121babbc195d28f532511f8a01a89ea6c026c635 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=BE=B7=E5=AE=87?= Date: Fri, 7 Aug 2026 12:09:55 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E7=94=BB=E6=9D=BF=E9=92=B1?= =?UTF-8?q?=E5=8C=85=E9=94=99=E8=AF=AF=E6=96=87=E6=A1=88=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 更新旧版钱包总额场景的用户可见错误断言 补充内部充值响应错误不外显的回归断言 --- src/components/image-editor/ImageCanvasEditorView.test.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/image-editor/ImageCanvasEditorView.test.tsx b/src/components/image-editor/ImageCanvasEditorView.test.tsx index 44b75d999..cc5fc03a0 100644 --- a/src/components/image-editor/ImageCanvasEditorView.test.tsx +++ b/src/components/image-editor/ImageCanvasEditorView.test.tsx @@ -704,7 +704,8 @@ describe('ImageCanvasEditorView', () => { const details = await screen.findByRole('dialog', { name: '泥点账户详情', }); - expect(within(details).getByText('充值中心响应缺少泥点余额')).toBeTruthy(); + expect(within(details).getByText('泥点明细读取失败')).toBeTruthy(); + expect(within(details).queryByText('充值中心响应缺少泥点余额')).toBeNull(); expect(within(details).queryByText('不限时泥点')).toBeNull(); expect(within(details).queryByText('每日免费泥点')).toBeNull(); });