Fix E2E tests to use namespaced tool names and handle wrapped API responses#27
Merged
Fix E2E tests to use namespaced tool names and handle wrapped API responses#27
Conversation
Co-authored-by: rothnic <452052+rothnic@users.noreply.github.com>
…se formats Co-authored-by: rothnic <452052+rothnic@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix build workflow failure due to integration tests
Fix E2E tests to use namespaced tool names and handle wrapped API responses
Nov 19, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
E2E tests failed because they used pre-namespace tool names and expected raw JSON responses, but the generated MCP server uses namespaced tools (e.g.,
settings_system_backendVersion) and wraps responses in"API Response (Status: XXX):\n{...}"format.Changes
Tool name updates:
backendVersion→settings_system_backendVersionlistJobs→job_list_listJobsgetUser→user_profile_whoamilistWorkspaces→workspace_list_listUserWorkspacesResponse parsing:
/API Response \(Status: \d+\):\n([\s\S]*)/"CE v1.580.0...")isErrorpropertyData structure fixes:
{ email, workspaces: [] }not an arrayworkspace_idfieldExample change:
Tests: 27/27 passing (was 12 failures)
Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.