修正画板钱包错误文案测试
更新旧版钱包总额场景的用户可见错误断言 补充内部充值响应错误不外显的回归断言
This commit is contained in:
@@ -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();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user