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:
parent
fce1a5887d
commit
9c0dcac270
6 changed files with 16 additions and 15 deletions
|
|
@ -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 },
|
||||
});
|
||||
|
|
|
|||
|
|
@ -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 },
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue