Correct TOOL SKILL labels and place knowledge upload beside creation

This commit is contained in:
鲨鱼辣椒 committed 2026-10-13 21:17:34 +08:00
1 parent 020b36673d
commit ad223603aa
11 files changed
+102 -43

No files matched your search

@@ -39,7 +39,7 @@ it('removes subagent selection while other capability edits preserve historical
expect(screen.queryByText(/missing-child/)).not.toBeInTheDocument();
expect(changed).not.toHaveBeenCalled();
fireEvent.change(screen.getByRole('combobox', { name: '模型' }), { target: { value: 'new-model' } });
for (const [button, checkbox] of [['选择工具箱', '查询工具'], ['选择做事手册', '研究手册'], ['选择MCP 服务', '资料连接']]) {
for (const [button, checkbox] of [['选择TOOL', '查询工具'], ['选择SKILL', '研究手册'], ['选择MCP 服务', '资料连接']]) {
fireEvent.click(screen.getByRole('button', { name: button, exact: true }));
fireEvent.click(screen.getByRole('checkbox', { name: checkbox, exact: true }));
}