diff --git a/tests/boundary/mcp/webCaptureReferenceMcp.test.ts b/tests/boundary/mcp/webCaptureReferenceMcp.test.ts index b9b96dd6554..0a1c26bf696 100644 --- a/tests/boundary/mcp/webCaptureReferenceMcp.test.ts +++ b/tests/boundary/mcp/webCaptureReferenceMcp.test.ts @@ -77,6 +77,8 @@ it("compares referenced captures exactly as the same captures inline", async () ...page, detail: "complete", }); + expect(before).toMatchObject({ operation: "inspect_web_page" }); + expect(before.parameters).not.toHaveProperty("detail"); const after = await call("inspect_web_page", { ...page, detail: "complete" }); const inline = await call("compare_web_captures", { before: { inspection: before.normalized_result }, diff --git a/tests/boundary/mcp/webPageViewMcp.test.ts b/tests/boundary/mcp/webPageViewMcp.test.ts index 0a643259dcd..74bf61d36d1 100644 --- a/tests/boundary/mcp/webPageViewMcp.test.ts +++ b/tests/boundary/mcp/webPageViewMcp.test.ts @@ -98,13 +98,6 @@ it("summarizes a large page capture and pages its console through the web-page v coverage: { total: 0, exhausted: true }, section: { console: { prior_activity_available: false } }, }); - - const complete = await call("inspect_web_page", { - ...page, - detail: "complete", - }); - expect(complete).toMatchObject({ operation: "inspect_web_page" }); - expect(complete.parameters).not.toHaveProperty("detail"); }); it("returns a small page capture inline when detail is omitted", async () => {