ui: show offline WeChat status without repeated card explanation

This commit is contained in:
鲨鱼辣椒 committed 2026-10-14 12:24:08 +08:00
1 parent 3f10106bdb
commit 55b1d9e821
5 files changed
+11 -6

No files matched your search

+1 -1
View File
@@ -575,7 +575,7 @@ test('WeChat binding cards connect an account and switch its Agent through the c
'智能体的微信服务暂时离线,暂时无法自动回复。微信登录和智能体选择已保留,服务恢复后请刷新状态。',
{ exact: true }
)
).toBeVisible();
).toHaveCount(0);
await expect(legacyCard.getByText('状态待确认', { exact: true })).toHaveCount(0);
await expect(spareCard.getByRole('button', { name: '绑定智能体', exact: true })).toBeVisible();
await expect(page.getByRole('dialog')).toHaveCount(0);