inspector/clients/web/src/test/integration/mcp
Repository files (latest commit first)
Filename Latest commit message Latest commit date
cliffhall af4b574234 fix: record an intercepted 401's status, headers and body (#2297)
The network tracker wrapped the auth-challenge interceptor, so a 401/403
never reached it as a response: the interceptor cancelled the body and
threw, and the tracker logged only the thrown error. NetworkEntry renders
its response section only when a status is present, so the body — and the
WWW-Authenticate resource_metadata and scope — were never shown.

Move the tracker below the interceptor so it records the real response and
clones its body before the interceptor cancels it, and stop awaiting that
cancel: with the tracker's clone as the other tee branch, the cancel settles
only once the clone reads to the end, which would hang on an unending body.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SG6q6YEDJyJB5H2Hr8nBDS
Signed-off-by: cliffhall <cliff@futurescale.com>
2026-09-14 00:25:19 -04:00
..
import test: raise per-file coverage gate to 90 across all clients (closes #1271) (#1532) 2026-06-27 15:26:03 -04:00
node fix: record an intercepted 401's status, headers and body (#2297) 2026-09-14 00:25:19 -04:00
remote Merge pull request #2363 from modelcontextprotocol/v2/fix/2028-stdio-delayed-responses 2026-09-13 21:50:36 -04:00
appElicitation.test.ts test(apps): cover the modern MRTR leg of app-rendered elicitations 2026-08-22 20:17:37 -04:00
duplicate-resource-uris.test.ts fix: duplicate any listed resource URI, not only a registered one 2026-09-06 20:15:20 -04:00
duplicate-tool-names.test.ts test: cover the duplicateToolNames server option over a live connection 2026-08-10 20:34:14 -04:00
ema-mock-servers.ts test: cover EMA interactive leg 1 end-to-end (#1693) (#1765) 2026-07-24 13:11:51 -04:00
empty-cursor.test.ts fix: send an empty-string pagination cursor verbatim on every list adapter (#2220) 2026-09-06 13:28:44 -04:00
extensions-mimetype.test.ts refactor: drop the ext-apps SDK-v1 shims now that 2.0.0 peers on SDK v2 2026-09-13 19:21:06 -04:00
inspectorClient-advertised-extensions.test.ts Extensions: advertised-extensions toggle in Server Settings (Phase 2 of #1633) (#1743) 2026-07-22 16:23:43 -04:00
inspectorClient-coverage-backfill.test.ts refactor: drop the ext-apps SDK-v1 shims now that 2.0.0 peers on SDK v2 2026-09-13 19:21:06 -04:00
inspectorClient-ema-e2e.test.ts test: cover EMA interactive leg 1 end-to-end (#1693) (#1765) 2026-07-24 13:11:51 -04:00
inspectorClient-excluded-tools.test.ts fix: address Copilot round 2 on the list-salvage path (#1909) 2026-08-15 17:52:36 -04:00
inspectorClient-malformed-list.test.ts fix: stop the exclusion scan writing the rendered list's report (#1909) 2026-08-15 20:38:10 -04:00
inspectorClient-modern-era-oauth.test.ts fix: state every test-gate timeout instead of inheriting a library default 2026-09-12 08:32:34 -04:00
inspectorClient-modern-era.test.ts fix: state every test-gate timeout instead of inheriting a library default 2026-09-12 08:32:34 -04:00
inspectorClient-oauth-direct-mid-session-e2e.test.ts fix: state every test-gate timeout instead of inheriting a library default 2026-09-12 08:32:34 -04:00
inspectorClient-oauth-e2e.test.ts test: restore end-to-end coverage of resolveSdkRegistrationKind 2026-09-07 02:28:07 -04:00
inspectorClient-oauth-fetchFn.test.ts SDK v2 migration (behavior-neutral, versionNegotiation: 'legacy') (#1624) 2026-07-15 10:44:24 -04:00
inspectorClient-oauth-remote-mid-session-e2e.test.ts fix: state every test-gate timeout instead of inheriting a library default 2026-09-12 08:32:34 -04:00
inspectorClient-oauth-remote-storage-e2e.test.ts Auth hardening CI gaps + SDK consolidation: EMA leg 2 / scopes (#1527) (#1725) 2026-07-19 22:36:21 -04:00
inspectorClient-oauth.test.ts Auth hardening CI gaps + SDK consolidation: EMA leg 2 / scopes (#1527) (#1725) 2026-07-19 22:36:21 -04:00
inspectorClient-response-rejected.test.ts fix: surface list-fetch failures instead of swallowing them 2026-08-08 16:48:48 -04:00
inspectorClient-skills.test.ts feat: report a skill-name collision across the listing (#2248) 2026-09-07 19:02:18 -04:00
inspectorClient-subscriptions-era.test.ts fix(test-servers): describe and test after-first's resource-subscription counting 2026-08-27 21:14:30 -04:00
inspectorClient-tasks-era.test.ts Tasks: io.modelcontextprotocol/tasks extension on modern servers (era fork) (#1731) 2026-07-21 19:17:04 -04:00
inspectorClient-xmcpheader-mirroring.test.ts fix(core): mirror SEP-2243 x-mcp-header args to Mcp-Param-* on tools/call (#1847) 2026-07-28 19:19:48 -04:00
inspectorClient.test.ts test/docs: address Copilot review round 1 (#2320) 2026-09-13 21:16:23 -04:00
listSalvage-era.test.ts fix: return the era-parsed tool, and hide aggregate reports in paginated mode (#1909) 2026-08-15 20:08:03 -04:00
mcp-app-demo.test.ts SDK v2 migration (behavior-neutral, versionNegotiation: 'legacy') (#1624) 2026-07-15 10:44:24 -04:00
nullable-fields.test.ts fix: strip the enum null sentinel, and make the preset test cover its wiring 2026-08-15 18:28:38 -04:00
oauth-cimd-fixture.test.ts fix: exempt loopback hosts from the CIMD metadata URL HTTPS requirement 2026-09-11 02:31:47 -04:00
oauth-resource-metadata-challenge.test.ts fix: state every test-gate timeout instead of inheriting a library default 2026-09-12 08:32:34 -04:00
raw-tool-schemas.test.ts fix: map the new exit code, keep add runnable, distinguish severity by shape 2026-08-25 02:37:10 -04:00
rfc6570-templates.test.ts test: pin the InspectorClient wiring, and correct a false claim about the SDK 2026-08-17 00:59:30 -04:00
test-server-protected-resource.test.ts All of the mid-session and step-up auth work 2026-07-02 16:35:31 -07:00