fix(云智能体): 修复微信失败运行状态投影并提高默认执行步数

This commit is contained in:
2026-09-14 15:39:35 +08:00
parent 9044f7dd8c
commit 4f2caf7dbd
7 changed files with 119 additions and 4 deletions

View File

@@ -84,8 +84,10 @@ test('own WeChat conversation approval and generated PPT delivery in the desktop
await page.getByRole('button', { name: /我的创作助手/ }).click();
await page.getByRole('button', { name: '微信对话', exact: true }).click();
const own = page.getByRole('region', { name: '微信会话', exact: true });
await expect(own.getByTestId('wechat-run-status')).toContainText('任务状态:等待你的确认');
await own.getByRole('button', { name: '允许执行', exact: true }).click();
await expect(own.getByRole('heading', { name: '演示文稿已完成' })).toBeVisible();
await expect(own.getByTestId('wechat-run-status')).toContainText('任务状态:已完成');
await own.getByRole('button', { name: '保存 创作建议.pptx', exact: true }).click();
await expect(own.getByText('已保存 创作建议.pptx', { exact: true })).toBeVisible();
await page.screenshot({ path: testInfo.outputPath('wechat-own-deliverables.png') });