From d9c673579084db6371bffc90cd310dd2075a7a43 Mon Sep 17 00:00:00 2001 From: LoopX Agent <337587101+loopx-agent@users.noreply.github.com> Date: Fri, 16 Oct 2026 00:13:57 +0800 Subject: [PATCH] test(workspace): follow the current delivery check action Signed-off-by: LoopX Agent <337587101+loopx-agent@users.noreply.github.com> --- .../dashboard/smoke/team-evidence-return-smoke.mjs | 6 +++--- .../dashboard/smoke/team-feedback-recovery-smoke.mjs | 2 +- .../dashboard/smoke/team-result-use-recovery-smoke.mjs | 2 +- .../dashboard/smoke/team-task-revalidation-smoke.mjs | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/apps/presentation/dashboard/smoke/team-evidence-return-smoke.mjs b/apps/presentation/dashboard/smoke/team-evidence-return-smoke.mjs index 83bb04e95f..2387187f23 100644 --- a/apps/presentation/dashboard/smoke/team-evidence-return-smoke.mjs +++ b/apps/presentation/dashboard/smoke/team-evidence-return-smoke.mjs @@ -63,7 +63,7 @@ try { : route.fulfill({json: {...legacyReadback, validation}}); }; await page.route("**/api/chat/sessions/*/loopx", checkedRead); - const recheck = evidence.getByRole("button", {name: "重新读取证据", exact: true}); + const recheck = evidence.getByRole("button", {name: "重新检查交付", exact: true}); await recheck.click(); await original().waitFor(); await evidence.getByText("本次验收依据", {exact: true}).click(); @@ -229,7 +229,7 @@ try { await adoptionGap.waitFor({timeout: 3000}); assert.equal(await evidence.getByRole("button", {name: "阅读后续结果", exact: true}).count(), 0); assert.equal(await evidence.getByText("已记录采用 · 后续结果验收有效", {exact: true}).count(), 0); - await evidence.getByRole("button", {name: "重新读取证据", exact: true}).click(); + await recheck.click(); await original().waitFor(); await evidence.getByRole("button", {name: "核验关联执行", exact: true}).click(); await adoptionGap.waitFor({timeout: 3000}); @@ -249,7 +249,7 @@ try { assert.equal(await original().count(), 0, "Core loss clears the surrounding report, not only its trace"); assert.equal(await evidence.getByText("本次验收依据", {exact: true}).count(), 0); await page.unroute("**/api/chat/sessions/*/loopx", unavailableCore); - await evidence.getByRole("button", {name: "重新读取证据", exact: true}).click(); + await recheck.click(); await original().waitFor(); await evidence.getByRole("button", {name: "核验关联执行", exact: true}).click(); await evidence.getByRole("button", {name: "阅读回应与证据", exact: true}).click(); diff --git a/apps/presentation/dashboard/smoke/team-feedback-recovery-smoke.mjs b/apps/presentation/dashboard/smoke/team-feedback-recovery-smoke.mjs index bff0ecfc6e..dbf9f60d06 100644 --- a/apps/presentation/dashboard/smoke/team-feedback-recovery-smoke.mjs +++ b/apps/presentation/dashboard/smoke/team-feedback-recovery-smoke.mjs @@ -105,7 +105,7 @@ try { assert.equal(await evidence.getByText("已进入协调员收件箱,等待读取", {exact: true}).count(), 1, "An inbox receipt is presented as awaiting read, never as applied feedback"); await page.unroute("**/api/chat/sessions/*/loopx", unavailableEvidence); - await evidence.getByRole("button", {name: "重新读取证据", exact: true}).click(); + await evidence.getByRole("button", {name: "重新检查交付", exact: true}).click(); await evidence.getByLabel("证据内容: report.json").waitFor(); await mkdir(outputDir, {recursive: true}); await feedback.scrollIntoViewIfNeeded(); diff --git a/apps/presentation/dashboard/smoke/team-result-use-recovery-smoke.mjs b/apps/presentation/dashboard/smoke/team-result-use-recovery-smoke.mjs index e8e9e8f4f2..64598aeb1c 100644 --- a/apps/presentation/dashboard/smoke/team-result-use-recovery-smoke.mjs +++ b/apps/presentation/dashboard/smoke/team-result-use-recovery-smoke.mjs @@ -62,7 +62,7 @@ try { const evidence = dialog.getByRole("region", {name: "执行证据"}); await evidence.getByLabel("证据内容: output.json").waitFor(); assert.deepEqual((await command("withdraw")).host_calls, ["1", "1", "1"]); - const recheck = evidence.getByRole("button", {name: "重新读取证据", exact: true}); + const recheck = evidence.getByRole("button", {name: "重新检查交付", exact: true}); await recheck.click(); await evidence.getByText("接收方输入不可用", {exact: true}).waitFor(); await evidence.getByRole("button", {name: "查看阻断来源", exact: true}).waitFor(); diff --git a/apps/presentation/dashboard/smoke/team-task-revalidation-smoke.mjs b/apps/presentation/dashboard/smoke/team-task-revalidation-smoke.mjs index 783a19ee22..5a02fb2d75 100644 --- a/apps/presentation/dashboard/smoke/team-task-revalidation-smoke.mjs +++ b/apps/presentation/dashboard/smoke/team-task-revalidation-smoke.mjs @@ -50,7 +50,7 @@ try { const dialog = page.getByRole("dialog", {name: "团队执行情况"}); await dialog.getByRole("button", {name: "查看证据与反馈", exact: true}).first().click(); const evidence = dialog.getByRole("region", {name: "执行证据"}); - const recheck = evidence.getByRole("button", {name: "重新读取证据", exact: true}); + const recheck = evidence.getByRole("button", {name: "重新检查交付", exact: true}); await mkdir(outputDir, {recursive: true}); await page.setViewportSize({width: 390, height: 844}); const failure = evidence.getByRole("region", {name: "原任务验收失败"});