diff --git a/scripts/mantis/publish-pr-evidence.mjs b/scripts/mantis/publish-pr-evidence.mjs
index 211074e67db..791462544b5 100644
--- a/scripts/mantis/publish-pr-evidence.mjs
+++ b/scripts/mantis/publish-pr-evidence.mjs
@@ -156,11 +156,21 @@ function renderPairTable({ pair, rawBase }) {
if (!left || !right) {
return "";
}
- const width = Math.min(Number(left.width ?? right.width ?? 420) || 420, 720);
return [
- `| ${left.label} | ${right.label} |`,
- "| --- | --- |",
- `|
|
|`,
+ '
',
+ " ",
+ " ",
+ ` | ${left.label} | `,
+ ` ${right.label} | `,
+ "
",
+ " ",
+ " ",
+ " ",
+ ` }) | `,
+ ` }) | `,
+ "
",
+ " ",
+ "
",
"",
].join("\n");
}
diff --git a/test/scripts/mantis-build-telegram-desktop-proof-evidence.test.ts b/test/scripts/mantis-build-telegram-desktop-proof-evidence.test.ts
index 6b221c15ded..ff849f622be 100644
--- a/test/scripts/mantis-build-telegram-desktop-proof-evidence.test.ts
+++ b/test/scripts/mantis-build-telegram-desktop-proof-evidence.test.ts
@@ -94,9 +94,11 @@ describe("scripts/mantis/build-telegram-desktop-proof-evidence", () => {
"https://github.com/openclaw/openclaw/tree/qa-artifacts/mantis/telegram-desktop/pr-1/run-1",
});
- expect(body).toContain("| Main | This PR |");
+ expect(body).toContain('Main | ');
+ expect(body).toContain('This PR | ');
expect(body).toContain("baseline/telegram-desktop-proof.gif");
expect(body).toContain("candidate/telegram-desktop-proof.gif");
- expect(body).toContain('telegram-desktop-proof.gif" width="420"');
+ expect(body).toContain('telegram-desktop-proof.gif" width="100%"');
+ expect(body).not.toContain("| Main | This PR |");
});
});
diff --git a/test/scripts/mantis-publish-pr-evidence.test.ts b/test/scripts/mantis-publish-pr-evidence.test.ts
index 9c136736ebd..6641be947d2 100644
--- a/test/scripts/mantis-publish-pr-evidence.test.ts
+++ b/test/scripts/mantis-publish-pr-evidence.test.ts
@@ -92,9 +92,11 @@ describe("scripts/mantis/publish-pr-evidence", () => {
expect(body).toContain("");
expect(body).toContain("Summary: Mantis reran the scenario.");
- expect(body).toContain("| Baseline queued-only | Candidate queued -> thinking -> done |");
+ expect(body).toContain('');
+ expect(body).toContain('| Baseline queued-only | ');
+ expect(body).toContain('Candidate queued -> thinking -> done | ');
expect(body).toContain(
- '
