Skip to content

Commit 01d97cc

Browse files
committed
ci: add MCP e2e cases for the server errors, web vitals and build tools
The MCP e2e failed on list-server-errors, web-vitals, module-graph and chunk-sizes, which had no valid-arguments case in the harness.
1 parent 3a4d606 commit 01d97cc

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

‎scripts/e2e-mcp.mjs‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -646,6 +646,13 @@ const READ_PLAN = [
646646
['tanstack-inspect-query', null, () => ({ key: 'products' })],
647647
['redux-inspect-stores', null, () => ({})],
648648
['list-errors', null, () => ({})],
649+
['list-server-errors', null, () => ({})],
650+
['list-server-errors', null, () => ({ kind: 'ssr', limit: 5 })],
651+
['list-server-errors', null, () => ({ id: 's999' })],
652+
['web-vitals', null, () => ({})],
653+
['module-graph', null, () => ({ limit: 5 })],
654+
['module-graph', null, () => ({ search: 'main', limit: 5 })],
655+
['chunk-sizes', null, () => ({ limit: 5 })],
649656
['explain-error', null, (ctx) => ({ id: ctx.errorId ?? 'e1' })],
650657
['explain-error', null, () => ({ code: 'NG0100' })],
651658
['list-console', null, () => ({ since: '30m', limit: 20 })],

0 commit comments

Comments
 (0)