Refine personal Agent cards and configuration
This commit is contained in:
1 parent
c14d996c05
commit
8b40463a9f
17 files changed
+555
-412
No files matched your search
@@ -95,13 +95,8 @@ test('own WeChat conversation approval and generated PPT delivery in the desktop
|
||||
expect(calls.find(call => call.operation === 'channelConversationControl')?.input).toMatchObject({ session_id: 'self-session', run_id: 'channel-run', action: 'resume', decision: { decisions: [{ type: 'approve' }] } });
|
||||
expect(calls.find(call => call.operation === 'downloadChannelArtifact')?.input).toEqual({ session_id: 'self-session', path: '/outputs/创作建议.pptx' });
|
||||
expect(calls.some(call => call.operation === 'resume' || call.operation === 'submit')).toBe(false);
|
||||
await page.getByRole('button', { name: '使用与接入', exact: true }).click();
|
||||
const linked = page.getByRole('region', { name: '已关联渠道', exact: true });
|
||||
await expect(linked.getByText('创作微信', { exact: true })).toBeVisible();
|
||||
await expect(page.getByRole('region', { name: '个人微信渠道', exact: true })).toHaveCount(0);
|
||||
await linked.scrollIntoViewIfNeeded();
|
||||
await page.screenshot({ path: testInfo.outputPath('agent-linked-channels-shortcut.png') });
|
||||
await linked.getByRole('button', { name: /创作微信/ }).click();
|
||||
await page.getByTestId('cloud-agent-editor').getByRole('button', { name: '我的智能体', exact: true }).click();
|
||||
await page.getByRole('button', { name: '渠道', exact: true }).click();
|
||||
await expect(page.getByRole('heading', { name: '微信', exact: true })).toBeVisible();
|
||||
await expect(page.getByRole('button', { name: /创作微信.*我的创作助手/ })).toBeVisible();
|
||||
await expect(page.getByRole('button', { name: /备用微信.*未分配智能体/ })).toBeVisible();
|
||||
|
||||
Reference in new issue
Block a user