feat(ui): Copilot 多轮对话、列定义预览确认与来源标识

This commit is contained in:
Jayway Liu
2026-11-01 04:44:48 +00:00
committed by jianwel
parent fb9dd2b77e
commit 661f65c593
6 changed files with 910 additions and 43 deletions
+3 -2
View File
@@ -128,8 +128,9 @@ test("新增列:补充信息触发追问并重新确认后生成公式工作
);
await columns.getByRole("button", { name: "应用", exact: true }).click();
const customResult = await (await customQuery).json();
expect(customResult.summary.custom_0.current).toBe("1000");
expect(customResult.rows[0].values.custom_0.current).toBe("1000");
// Decimal 以字符串保留存储精度(如 "1000.000000000000000000000000"),按数值断言。
expect(Number(customResult.summary.custom_0.current)).toBe(1000);
expect(Number(customResult.rows[0].values.custom_0.current)).toBe(1000);
await page.getByRole("button", { name: "生成公式工作簿" }).click();
const reopened = page.getByRole("dialog", { name: "生成公式工作簿" });