copy: 调查目标保持与提示词同口径(待处理事项);同步下载盘、整理状态、运行记录等断言
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Cxwgnn2pbzQ7rXv3rq7fei
This commit is contained in:
1 parent
25d0a074ca
commit
1d62f65b14
7 files changed
+9
-9
No files matched your search
@@ -484,7 +484,7 @@ describe.skipIf(!hasPg)("E12 Agent 交互:步骤清单 / 方案选择 / 内联
|
||||
expect(rej.status).toBe(200);
|
||||
const completed = (await waitEvent(runId, "run_completed")).payload as Any;
|
||||
expect(completed.finalText).toContain("未提交");
|
||||
expect(completed.finalText).toContain("管理员拒绝了审批:先别下,等 REMUX");
|
||||
expect(completed.finalText).toContain("管理员拒绝了审批:先别下,等 REMUX");
|
||||
const events = await runEvents(e, runId);
|
||||
expect(events.find((x) => x.type === "approval_resolved")?.payload).toMatchObject({
|
||||
status: "rejected",
|
||||
|
||||
@@ -82,7 +82,7 @@ describe.skipIf(!hasPg)("数据库清理(真实 PG)", () => {
|
||||
const preview = await previewJob(job("task_run"), ctx());
|
||||
const rows = (label: string) => preview.find((p) => p.label === label)?.rows;
|
||||
expect(rows("后台任务运行记录")).toBe(4);
|
||||
expect(rows("引擎步骤(随 run 级联)")).toBe(3);
|
||||
expect(rows("运行步骤(随运行记录一起删)")).toBe(3);
|
||||
expect(rows("运行元数据")).toBe(2);
|
||||
|
||||
expect(await run("task_run")).toMatch(/后台任务 0、运行记录 4、运行元数据 2 行已删除/);
|
||||
|
||||
Reference in new issue
Block a user