$ node scripts/prove-scenario.ts scripts/scenarios/mcp-app-local-thread-links.e2e.ts --base 135c78a27882e84683242a48793c09fa1490a495 --head 58f6caef4afab42185a5196d6c86f17706689257 --upload-command 'ghdrop upload' ⊘ cache disabled Scope: all 44 workspace projects ✓ Lockfile passes supply-chain policies (verified 1h ago) Lockfile is up to date, resolution step is skipped Packages are hard linked from the content-addressable store to the virtual store. Content-addressable store is at: Virtual store is at: node_modules/.pnpm Progress: resolved 607, reused 607, downloaded 0, added 592 Progress: resolved 1336, reused 1336, downloaded 0, added 1320 Progress: resolved 1732, reused 1732, downloaded 0, added 1719 Progress: resolved 1762, reused 1762, downloaded 0, added 1756 Packages: +1778 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Progress: resolved 1778, reused 1774, downloaded 0, added 1778, done Agent skills awaiting approval: e2e. Run "pnpm approve" to review them. . prepare$ vp config --no-agent . prepare: Done devDependencies: + @coderabbitai/config 1.2.0 + @effect/tsgo 0.67.1 + @shadcn/lint 0.1.5 + @types/node 24.12.4 + knip 6.34.0 + vite-plus 1.4.0 Done in 7.8s using pnpm v12.14.0 RUN e2e v0.23.0 run 01a20770-cbc8-78d6-813b-afdc6972864c · targets: web, ios ✓ target "web" command at http://127.0.0.1:46003/.well-known/t3/environment ready 10.91s × |web| scenarios/mcp-app-local-thread-links.e2e.ts > MCP App opens a local hosted thread in the current client 37.86s → expect.toHaveURL failed ❯ |web| scenarios/mcp-app-local-thread-links.e2e.ts (1 test | 1 failed) 37.86s ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Failed Tests 1 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ FAIL |web| scenarios/mcp-app-local-thread-links.e2e.ts > MCP App opens a local hosted thread in the current client ASSERTION_FAILED: expect.toHaveURL failed expected: URL /\/mcp%3Af31ac6db-1b4d-43d6-ae85-684c53743507$/ observed: URL http://127.0.0.1:46003/0a9da8db-4704-465a-b684-e87f338c2d27/mcp:d10a9758-0f09-48ae-8913-ea984b20c035 ❯ scenarios/mcp-app-local-thread-links.e2e.ts:41:5 39| await frame.getByRole("button","Open destination conversation").tap… 40| try { 41| await expect(browser).toHaveURL(new RegExp(`/${encodeURIComponent… | ^ 42| } finally { await app.screenshot("after-click"); } 43| }); ❯ at http://127.0.0.1:46003/0a9da8db-4704-465a-b684-e87f338c2d27/mcp:d10a9758-0f09-48ae-8913-ea984b20c035 ❯ app 1 warning logged ❯ trace .e2e/prove/base/results/mcp-app-local-thread-links-mcp-app-opens-a-local-hosted-66b4f0b2123b761a/trace.md ❯ video .e2e/prove/base/results/mcp-app-local-thread-links-mcp-app-opens-a-local-hosted-66b4f0b2123b761a/attempt-1/video/video.webm ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/1]⎯ Test Files 1 failed | 0 passed (1) Tests 1 failed | 0 passed (1) Start at 08:06:04 Duration 51.13s (startup 10.91s) Traces .e2e/prove/base/results/ (1 page, trace.md in each test's directory) Screenshots .e2e/prove/base/results/mcp-app-local-thread-links-mcp-app-opens-a-local-hosted-66b4f0b2123b761a/attempt-1/screenshots/001-chat-reference-destination.png .e2e/prove/base/results/mcp-app-local-thread-links-mcp-app-opens-a-local-hosted-66b4f0b2123b761a/attempt-1/screenshots/002-before-click.png .e2e/prove/base/results/mcp-app-local-thread-links-mcp-app-opens-a-local-hosted-66b4f0b2123b761a/attempt-1/screenshots/003-after-click.png Markdown .e2e/prove/base/summary.md Failed × |web| scenarios/mcp-app-local-thread-links.e2e.ts:41 > MCP App opens a local hosted thread in the current client ASSERTION_FAILED: expect.toHaveURL failed trace .e2e/prove/base/results/mcp-app-local-thread-links-mcp-app-opens-a-local-hosted-66b4f0b2123b761a/trace.md Scope: all 44 workspace projects ✓ Lockfile passes supply-chain policies (verified 1h ago) Lockfile is up to date, resolution step is skipped Packages are hard linked from the content-addressable store to the virtual store. Content-addressable store is at: Virtual store is at: node_modules/.pnpm Progress: resolved 682, reused 682, downloaded 0, added 667 Progress: resolved 1139, reused 1139, downloaded 0, added 1124 Progress: resolved 1774, reused 1773, downloaded 0, added 1767 Packages: +1778 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Progress: resolved 1778, reused 1774, downloaded 0, added 1778, done Agent skills awaiting approval: e2e. Run "pnpm approve" to review them. . prepare$ vp config --no-agent . prepare: Done devDependencies: + @coderabbitai/config 1.2.0 + @effect/tsgo 0.67.1 + @shadcn/lint 0.1.5 + @types/node 24.12.4 + knip 6.34.0 + vite-plus 1.4.0 Done in 5.9s using pnpm v12.14.0 RUN e2e v0.23.0 run 01a20771-e0e6-703f-ab2b-206dd6f4882e · targets: web, ios ✓ target "web" command at http://127.0.0.1:43667/.well-known/t3/environment ready 11.42s ✓ |web| scenarios/mcp-app-local-thread-links.e2e.ts > MCP App opens a local hosted thread in the current client 27.55s ✓ |web| scenarios/mcp-app-local-thread-links.e2e.ts (1 test) 27.55s Test Files 1 passed (1) Tests 1 passed (1) Start at 08:07:15 Duration 40.54s (startup 11.42s) Traces .e2e/prove/head/results/ (1 page, trace.md in each test's directory) Screenshots .e2e/prove/head/results/mcp-app-local-thread-links-mcp-app-opens-a-local-hosted-66b4f0b2123b761a/attempt-1/screenshots/001-chat-reference-destination.png .e2e/prove/head/results/mcp-app-local-thread-links-mcp-app-opens-a-local-hosted-66b4f0b2123b761a/attempt-1/screenshots/002-before-click.png .e2e/prove/head/results/mcp-app-local-thread-links-mcp-app-opens-a-local-hosted-66b4f0b2123b761a/attempt-1/screenshots/003-after-click.png Markdown .e2e/prove/head/summary.md { "scenario": "MCP App opens a local hosted thread in the current client", "failsOnBase": true, "passesOnHead": true, "couldNotRun": null, "baseSha": "135c78a27882e84683242a48793c09fa1490a495", "headSha": "58f6caef4afab42185a5196d6c86f17706689257", "verdict": "Proven: the scenario fails on base `135c78a278` and passes on head `58f6caef4a`.", "steps": { "base": [ { "step": "app.open ", "status": "passed" }, { "step": "expect.not.toHaveURL /\\/pair(?:[?#]|$)/", "status": "passed" }, { "step": "app.open /0a9da8db-4704-465a-b684-e87f338c2d27/mcp:d10a9758-0f09-48ae-8913-ea984b20c035", "status": "passed" }, { "step": "locator.tap getByRole(\"link\", name: \"Thread, Destination conversation\")", "status": "passed" }, { "step": "browser.waitForURL /\\/mcp%3Af31ac6db-1b4d-43d6-ae85-684c53743507$/", "status": "passed" }, { "step": "expect.toHaveURL /\\/mcp%3Af31ac6db-1b4d-43d6-ae85-684c53743507$/", "status": "passed" }, { "step": "app.screenshot chat-reference-destination", "status": "passed" }, { "step": "browser.back ", "status": "passed" }, { "step": "locator.waitFor frameLocator(\"iframe[title=\\\"navigator app\\\"]\") >> getByRole(\"button\", name: \"Open destination conversation\") → visible", "status": "passed" }, { "step": "app.screenshot before-click", "status": "passed" }, { "step": "locator.tap frameLocator(\"iframe[title=\\\"navigator app\\\"]\") >> getByRole(\"button\", name: \"Open destination conversation\")", "status": "passed" }, { "step": "expect.toHaveURL /\\/mcp%3Af31ac6db-1b4d-43d6-ae85-684c53743507$/", "status": "failed" }, { "step": "app.screenshot after-click", "status": "passed" } ], "head": [ { "step": "app.open ", "status": "passed" }, { "step": "expect.not.toHaveURL /\\/pair(?:[?#]|$)/", "status": "passed" }, { "step": "app.open /cc0d197f-7b91-4172-a618-9639447616bb/mcp:c7772b9d-e010-4166-b758-9d74427dc816", "status": "passed" }, { "step": "locator.tap getByRole(\"link\", name: \"Thread, Destination conversation\")", "status": "passed" }, { "step": "browser.waitForURL /\\/mcp%3A641588c3-49e9-414d-91ef-352dc0e5771f$/", "status": "passed" }, { "step": "expect.toHaveURL /\\/mcp%3A641588c3-49e9-414d-91ef-352dc0e5771f$/", "status": "passed" }, { "step": "app.screenshot chat-reference-destination", "status": "passed" }, { "step": "browser.back ", "status": "passed" }, { "step": "locator.waitFor frameLocator(\"iframe[title=\\\"navigator app\\\"]\") >> getByRole(\"button\", name: \"Open destination conversation\") → visible", "status": "passed" }, { "step": "app.screenshot before-click", "status": "passed" }, { "step": "locator.tap frameLocator(\"iframe[title=\\\"navigator app\\\"]\") >> getByRole(\"button\", name: \"Open destination conversation\")", "status": "passed" }, { "step": "expect.toHaveURL /\\/mcp%3A641588c3-49e9-414d-91ef-352dc0e5771f$/", "status": "passed" }, { "step": "app.screenshot after-click", "status": "passed" } ] }, "captures": [ "", "", "", "", "", "", "" ], "videos": [ "", "" ], "markdown": "### Scenario: MCP App opens a local hosted thread in the current client\n\n**Proven: the scenario fails on base `135c78a278` and passes on head `58f6caef4a`.**\n\n| | Base `135c78a278` | Head `58f6caef4a` |\n| --- | --- | --- |\n| Result | ❌ failed
ASSERTION_FAILED: expect.toHaveURL failed
expected: URL /\\/mcp%3Af31ac6db-1b4d-43d6-ae85-684c53743507$/
observed: URL http://127.0.0.1:46003/0a9da8db-4704-465a-b684-e87f338c2d27/mcp:d10a9758-0f09-48ae-8913-ea984b20c035 | ✅ passed |\n| chat reference destination | ![Base 135c78a278: chat reference destination](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/6fcc0b6af0aa107a/001-chat-reference-destination.png) | ![Head 58f6caef4a: chat reference destination](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/04889547fd1bcce5/001-chat-reference-destination.png) |\n| before click | ![Base 135c78a278: before click](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/c56b26d93bbc20dc/002-before-click.png) | ![Head 58f6caef4a: before click](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/2df565756d5fcbca/002-before-click.png) |\n| after click | ![Base 135c78a278: after click](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/b67592db42977efd/003-after-click.png) | ![Head 58f6caef4a: after click](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/ca9e9a78760afcce/003-after-click.png) |\n| failure | ![Base 135c78a278: failure](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/fefb23ee8b552adc/004-failure.png) | |\n", "base": { "sha": "135c78a27882e84683242a48793c09fa1490a495", "status": "failed", "title": "MCP App opens a local hosted thread in the current client", "message": "ASSERTION_FAILED: expect.toHaveURL failed\nexpected: URL /\\/mcp%3Af31ac6db-1b4d-43d6-ae85-684c53743507$/\nobserved: URL http://127.0.0.1:46003/0a9da8db-4704-465a-b684-e87f338c2d27/mcp:d10a9758-0f09-48ae-8913-ea984b20c035", "steps": [ { "step": "app.open ", "status": "passed" }, { "step": "expect.not.toHaveURL /\\/pair(?:[?#]|$)/", "status": "passed" }, { "step": "app.open /0a9da8db-4704-465a-b684-e87f338c2d27/mcp:d10a9758-0f09-48ae-8913-ea984b20c035", "status": "passed" }, { "step": "locator.tap getByRole(\"link\", name: \"Thread, Destination conversation\")", "status": "passed" }, { "step": "browser.waitForURL /\\/mcp%3Af31ac6db-1b4d-43d6-ae85-684c53743507$/", "status": "passed" }, { "step": "expect.toHaveURL /\\/mcp%3Af31ac6db-1b4d-43d6-ae85-684c53743507$/", "status": "passed" }, { "step": "app.screenshot chat-reference-destination", "status": "passed" }, { "step": "browser.back ", "status": "passed" }, { "step": "locator.waitFor frameLocator(\"iframe[title=\\\"navigator app\\\"]\") >> getByRole(\"button\", name: \"Open destination conversation\") → visible", "status": "passed" }, { "step": "app.screenshot before-click", "status": "passed" }, { "step": "locator.tap frameLocator(\"iframe[title=\\\"navigator app\\\"]\") >> getByRole(\"button\", name: \"Open destination conversation\")", "status": "passed" }, { "step": "expect.toHaveURL /\\/mcp%3Af31ac6db-1b4d-43d6-ae85-684c53743507$/", "status": "failed" }, { "step": "app.screenshot after-click", "status": "passed" } ], "captures": [ "", "", "", "" ], "videos": [ "" ] }, "head": { "sha": "58f6caef4afab42185a5196d6c86f17706689257", "status": "passed", "title": "MCP App opens a local hosted thread in the current client", "steps": [ { "step": "app.open ", "status": "passed" }, { "step": "expect.not.toHaveURL /\\/pair(?:[?#]|$)/", "status": "passed" }, { "step": "app.open /cc0d197f-7b91-4172-a618-9639447616bb/mcp:c7772b9d-e010-4166-b758-9d74427dc816", "status": "passed" }, { "step": "locator.tap getByRole(\"link\", name: \"Thread, Destination conversation\")", "status": "passed" }, { "step": "browser.waitForURL /\\/mcp%3A641588c3-49e9-414d-91ef-352dc0e5771f$/", "status": "passed" }, { "step": "expect.toHaveURL /\\/mcp%3A641588c3-49e9-414d-91ef-352dc0e5771f$/", "status": "passed" }, { "step": "app.screenshot chat-reference-destination", "status": "passed" }, { "step": "browser.back ", "status": "passed" }, { "step": "locator.waitFor frameLocator(\"iframe[title=\\\"navigator app\\\"]\") >> getByRole(\"button\", name: \"Open destination conversation\") → visible", "status": "passed" }, { "step": "app.screenshot before-click", "status": "passed" }, { "step": "locator.tap frameLocator(\"iframe[title=\\\"navigator app\\\"]\") >> getByRole(\"button\", name: \"Open destination conversation\")", "status": "passed" }, { "step": "expect.toHaveURL /\\/mcp%3A641588c3-49e9-414d-91ef-352dc0e5771f$/", "status": "passed" }, { "step": "app.screenshot after-click", "status": "passed" } ], "captures": [ "", "", "" ], "videos": [ "" ] } }