feat(agents): 展示云端通俗技能与工具文案

This commit is contained in:
brother7 committed 2026-10-13 10:25:11 +08:00
1 parent 23aa927441
commit 821fd6ffbe
16 files changed
+118 -23

No files matched your search

+1 -1
View File
@@ -52,7 +52,7 @@ it('keeps one child creation intent after a lost response and waits for Skill in
await waitFor(() => expect(screen.queryByLabelText('子智能体名称')).not.toBeInTheDocument());
const calls = api.call.mock.calls.filter(call => call[0] === 'createChild');
expect(calls).toHaveLength(2); expect(calls[0][1]).toEqual(calls[1][1]);
fireEvent.click(screen.getByRole('button', { name: '上传 Skill' }));
fireEvent.click(screen.getByRole('button', { name: '上传技能' }));
const confirm = await screen.findByRole('button', { name: '确认安装到个人能力' });
expect(api.call.mock.calls.some(call => call[0] === 'confirmSkill')).toBe(false);
fireEvent.click(confirm);