fix: update texts on mcp component and tab, fix icons not updating (#7850)

* Update texts about mcp

* Change generic icon when name changes

* Remove unused imports

* Updated tests
This commit is contained in:
Lucas Oliveira 2025-04-29 17:39:07 -03:00 • committed by GitHub
commit 9c0dcac270
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 16 additions and 15 deletions

View file

@ -157,14 +157,14 @@ test(
await page.getByTestId("blank-flow").click();
await page.getByTestId("sidebar-search-input").click();
await page.getByTestId("sidebar-search-input").fill("mcp server");
await page.getByTestId("sidebar-search-input").fill("mcp connection");
await page.waitForSelector('[data-testid="toolsMCP Server"]', {
await page.waitForSelector('[data-testid="toolsMCP Connection"]', {
timeout: 30000,
});
await page
.getByTestId("toolsMCP Server")
.getByTestId("toolsMCP Connection")
.dragTo(page.locator('//*[@id="react-flow-id"]'), {
targetPosition: { x: 0, y: 0 },
});

View file

@ -3,7 +3,7 @@ import { awaitBootstrapTest } from "../../utils/await-bootstrap-test";
import { zoomOut } from "../../utils/zoom-out";
test(
"user must be able to change mode of MCP server without any issues",
"user must be able to change mode of MCP connection without any issues",
{ tag: ["@release", "@workspace", "@components"] },
async ({ page }) => {
await awaitBootstrapTest(page);
@ -13,14 +13,14 @@ test(
});
await page.getByTestId("blank-flow").click();
await page.getByTestId("sidebar-search-input").click();
await page.getByTestId("sidebar-search-input").fill("mcp server");
await page.getByTestId("sidebar-search-input").fill("mcp connection");
await page.waitForSelector('[data-testid="toolsMCP Server"]', {
await page.waitForSelector('[data-testid="toolsMCP Connection"]', {
timeout: 30000,
});
await page
.getByTestId("toolsMCP Server")
.getByTestId("toolsMCP Connection")
.dragTo(page.locator('//*[@id="react-flow-id"]'), {
targetPosition: { x: 0, y: 0 },
});