feat: QoL MCP (#7361)

* Update mcp_component.py

* [autofix.ci] apply automated fixes

* Update mcp_component.py

* Update mcp_component.py

* making tools empty when see url is empty

* ✅ (mcp-server.spec.ts): add additional tests to ensure dropdown_str_tool is disabled and has a timeout of 30 seconds for selector wait.

* fix mcp tests

* [autofix.ci] apply automated fixes

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: cristhianzl <cristhian.lousa@gmail.com>
This commit is contained in:
Edwin Jose 2025-04-10 14:58:06 -04:00 • committed by GitHub
commit b060183c8c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 69 additions and 25 deletions

View file

@ -82,6 +82,10 @@ test(
expect(sseURLCount).toBeGreaterThan(0);
await page.waitForSelector('[data-testid="dropdown_str_tool"]:disabled', {
timeout: 30000,
});
await page.getByTestId("tab_0_stdio").click();
await page.getByTestId("refresh-button-command").click();
@ -131,5 +135,9 @@ test(
.count();
expect(sseURLCount).toBeGreaterThan(0);
await page.waitForSelector('[data-testid="dropdown_str_tool"]:disabled', {
timeout: 30000,
});
},
);