Skip to content

armgit / cindy

Public Imported from GitHub
0

Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。

test(desktop): 补齐群能力设置导航测试的成员字段

shenjiacheng0539ed7b288d
diff --git a/apps/desktop/src/renderer/features/bots/__tests__/ChatGroupSettings.test.tsx b/apps/desktop/src/renderer/features/bots/__tests__/ChatGroupSettings.test.tsx
index 92bdc93a32..1ebda81a69 100644
--- a/apps/desktop/src/renderer/features/bots/__tests__/ChatGroupSettings.test.tsx
+++ b/apps/desktop/src/renderer/features/bots/__tests__/ChatGroupSettings.test.tsx
@@ -187,6 +187,7 @@ it('keeps the original group mounted when opening and closing another owned comp
const room = group(true);
room.members = [...room.members, {
actorId: 'other', botId: 'other', actorKind: 'bot', name: 'Other', role: 'member', isOwned: true, guestAccess: 'chat', accessRevision: 1,
+ avatar: 'bot', avatarColor: 'blue', status: 'active',
}];
renderGroupEntry(room);
const buttons = screen.getAllByRole('button', { name: key('configureCapabilities') });