Skip to content

Conversation

@laura-codess
Copy link

Change

I implemented the abstractions for the MCP Server Test Suite, the functions include:
clickToolsButton()
clickMCPAddButton()
configureMCPServer + various nested functions
saveMCPServerConfiguration
cancelMCPServerConfiguration
clickMCPRefreshButton
clickMCPCloseButton

Along with the abstractions, I implemented 3 tests:
Test Amazon Q MCP Servers and Built-in Tools Access
Add New MCP Server
Refresh MCP Server

I verified that the test works with all other webview based test suites (as of now the inline completion test is still being fixed)

Screenshot 2025-07-31 at 3 29 48 PM
  • Treat all work as PUBLIC. Private feature/x branches will not be squash-merged at release time.
  • Your code changes must meet the guidelines in CONTRIBUTING.md.
  • License: I confirm that my contribution is made under the terms of the Apache 2.0 license.

## Change

I added the gitignore fix

---

- Treat all work as PUBLIC. Private `feature/x` branches will not be
squash-merged at release time.
- Your code changes must meet the guidelines in
[CONTRIBUTING.md](https://github.com/aws/aws-toolkit-vscode/blob/master/CONTRIBUTING.md#guidelines).
- License: I confirm that my contribution is made under the terms of the
Apache 2.0 license.
@laura-codess laura-codess requested a review from a team as a code owner July 31, 2025 19:39
@github-actions
Copy link

  • This pull request implements a feat or fix, so it must include a changelog entry (unless the fix is for an unreleased feature). Review the changelog guidelines.
    • Note: beta or "experiment" features that have active users should announce fixes in the changelog.
    • If this is not a feature or fix, use an appropriate type from the title guidelines. For example, telemetry-only changes should use the telemetry type.

Copy link
Contributor

@Hweinstock Hweinstock left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This test really shows me that we should try to get those testIds from Mynah because this logic is already getting pretty messy. Nice work handling all that mess and abstracting it away from the core test logic!

@laura-codess laura-codess enabled auto-merge (squash) August 4, 2025 19:23
@laura-codess laura-codess merged commit b020242 into aws:feature/ui-e2e-tests Aug 4, 2025
33 of 37 checks passed
@laura-codess laura-codess deleted the implement_mcp branch August 4, 2025 19:33
laura-codess added a commit to laura-codess/aws-toolkit-vscode that referenced this pull request Aug 10, 2025
## Change

I implemented the abstractions for the MCP Server Test Suite, the
functions include:
clickToolsButton()
clickMCPAddButton()
configureMCPServer + various nested functions
saveMCPServerConfiguration
cancelMCPServerConfiguration
clickMCPRefreshButton
clickMCPCloseButton

Along with the abstractions, I implemented 3 tests:
[Test Amazon Q MCP Servers and Built-in Tools
Access](https://quip-amazon.com/prX5ATmJnTQH/Test-Amazon-Q-MCP-Servers-and-Built-in-Tools-Access#temp:C:PMb1a32b1fc4eda47c49fcf1e311)
[Add New MCP
Server](https://quip-amazon.com/zixVAly68agD/Add-a-new-MCP-server#temp:C:BZRc2917aff34e4481da2d27633e)
[Refresh MCP
Server](https://quip-amazon.com/FfIOAYVC0Nm2/Refresh-MCP-Server#temp:C:UVL3c9fcca6b4bf447687a131a1e)

I verified that the test works with all other webview based test suites
(as of now the inline completion test is still being fixed)


<img width="487" height="630" alt="Screenshot 2025-07-31 at 3 29 48 PM"
src="https://github.com/user-attachments/assets/e0e50be6-ed85-4f21-9c7d-46371ee27cd2"
/>

---

- Treat all work as PUBLIC. Private `feature/x` branches will not be
squash-merged at release time.
- Your code changes must meet the guidelines in
[CONTRIBUTING.md](https://github.com/aws/aws-toolkit-vscode/blob/master/CONTRIBUTING.md#guidelines).
- License: I confirm that my contribution is made under the terms of the
Apache 2.0 license.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants