Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down Expand Up @@ -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});
Expand All @@ -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();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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: "原任务验收失败"});
Expand Down
Loading