BASE SHA 3b95e7831b11b17627dff16843bc087bfca397ec
Test-only overlay from candidate 707d3a9487988f69f6f0e16666142b8835d85c2c; implementation files unchanged.
3f3ddd419250f1b4ce62931200c42da0874113ed42f88e2e6ae23457d0d93478 apps/server/src/preview/ServerBrowserPage.test.ts
4af3b8a748440817dda660f5138fd76430544266148df2e907ae0d9a2a3ebc18 apps/server/src/mcp/PreviewAutomationBroker.test.ts
COMMAND ["vp", "test", "run", "apps/server/src/preview/ServerBrowserPage.test.ts", "apps/server/src/mcp/PreviewAutomationBroker.test.ts"]
note: You are running `vp test` as a Vite+ built-in command. If you meant to run the test npm script, use `vpr test` instead.

 RUN  v5.0.5 /home/ubuntu/wt/issue-3714-evidence-base

 ❯ |t3| src/preview/ServerBrowserPage.test.ts (17 tests | 1 failed) 7665ms
   ❯ server browser element refs (16)
     × tells a click target that matches nothing from one that never becomes clickable 766ms
stdout | src/mcp/PreviewAutomationBroker.test.ts > names the click target that matched nothing when the server browser times out
[08:26:14.880] ERROR (#179): Error [AssertionError]: expected 'Preview automation click timed out af…' to contain '.definitely-no-such-t3-target'
    at /home/ubuntu/wt/issue-3714-evidence-base/apps/server/src/mcp/PreviewAutomationBroker.test.ts:350:29 {
  actual: 'Preview automation click timed out after 15000ms.',
  expected: '.definitely-no-such-t3-target',
  showDiff: true,
  operator: 'strictEqual',
  [cause]: undefined
}

 ❯ |t3| src/mcp/PreviewAutomationBroker.test.ts (25 tests | 1 failed) 459ms
   × names the click target that matched nothing when the server browser times out 49ms

⎯⎯⎯⎯⎯⎯⎯ Failed Tests 2 ⎯⎯⎯⎯⎯⎯⎯

 FAIL  |t3| src/mcp/PreviewAutomationBroker.test.ts > names the click target that matched nothing when the server browser times out
AssertionError: expected 'Preview automation click timed out af…' to contain '.definitely-no-such-t3-target'

Expected: ".definitely-no-such-t3-target"
Received: "Preview automation click timed out after 15000ms."

 ❯ src/mcp/PreviewAutomationBroker.test.ts:350:29
    348|
    349|       expect(error._tag).toBe("PreviewAutomationTimeoutError");
    350|       expect(error.message).toContain(".definitely-no-such-t3-target");
       |                             ^
    351|       expect(error.message).toMatch(/no (element|match)|matched no|not…
    352|     }),
 ❯ ~effect/Effect/successCont ../../../issue-3714/node_modules/.pnpm/effect@4.0.5/node_modules/effect/src/internal/effect.ts:1422:28
 ❯ ~effect/Effect/evaluate ../../../issue-3714/node_modules/.pnpm/effect@4.0.5/node_modules/effect/src/internal/core.ts:585:30
 ❯ FiberImpl.runLoop ../../../issue-3714/node_modules/.pnpm/effect@4.0.5/node_modules/effect/src/internal/effect.ts:654:41
 ❯ FiberImpl.evaluate ../../../issue-3714/node_modules/.pnpm/effect@4.0.5/node_modules/effect/src/internal/effect.ts:595:23
 ❯ FiberImpl.evaluate ../../../issue-3714/node_modules/.pnpm/effect@4.0.5/node_modules/effect/src/internal/effect.ts:589:27
 ❯ ../../../issue-3714/node_modules/.pnpm/effect@4.0.5/node_modules/effect/src/internal/effect.ts:1159:17
 ❯ Array.<anonymous> ../../../issue-3714/node_modules/.pnpm/effect@4.0.5/node_modules/effect/src/internal/effect.ts:1697:11

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/2]⎯

 FAIL  |t3| src/preview/ServerBrowserPage.test.ts > server browser element refs > tells a click target that matches nothing from one that never becomes clickable
AssertionError: expected 'locator.scrollIntoViewIfNeeded: Timeo…' to be 'No element matches ".definitely-no-su…' // Object.is equality

Expected: "No element matches ".definitely-no-such-t3-target" after the timeout. Take a fresh snapshot and use its locator."
Received: "locator.scrollIntoViewIfNeeded: Timeout 500ms exceeded."

 ❯ src/preview/ServerBrowserPage.test.ts:111:28
    109|     const absent = await failure(".definitely-no-such-t3-target");
    110|     expect(absent.tag).toBe("PreviewAutomationTimeoutError");
    111|     expect(absent.message).toBe(
       |                            ^
    112|       'No element matches ".definitely-no-such-t3-target" after the ti…
    113|     );

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[2/2]⎯


 Test Files  2 failed (2)
      Tests  2 failed | 40 passed (42)
   Start at  08:25:51
   Duration  23.31s (tests 37%, transform 29%, import 26%, setup 7%)

EXIT_CODE 1
