fix: make MCP naming changes, change actions to tools (#8860)

* Changed actions to tools

* Changed connections to servers

* Added no tools found

* Changed actions to tools in mcp

* Added new label for mcp servers description

* Added better descriptions
This commit is contained in:
Lucas Oliveira 2025-07-03 15:04:04 -03:00 • committed by GitHub
commit 180a94a7f3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 30 additions and 30 deletions

View file

@ -40,7 +40,7 @@ test(
state: "visible",
});
await page.waitForSelector("text=actions", { timeout: 30000 });
await page.waitForSelector("text=tools", { timeout: 30000 });
await page.getByTestId("button_open_actions").click();

View file

@ -3,7 +3,7 @@ import { awaitBootstrapTest } from "../../utils/await-bootstrap-test";
import { zoomOut } from "../../utils/zoom-out";
test(
"user should be able to manage MCP server actions and configuration",
"user should be able to manage MCP server tools and configuration",
{ tag: ["@release", "@workspace", "@components"] },
async ({ page }) => {
const maxRetries = 5;
@ -47,14 +47,14 @@ test(
// Verify MCP server tab is visible
await expect(page.getByTestId("mcp-server-title")).toBeVisible();
await expect(page.getByText("Flows/Actions")).toBeVisible();
await expect(page.getByText("Flows/Tools")).toBeVisible();
// Click on Edit Actions button
// Click on Edit Tools button
await page.getByTestId("button_open_actions").click();
await page.waitForTimeout(500);
// Verify actions modal is open
await expect(page.getByText("MCP Server Actions")).toBeVisible();
await expect(page.getByText("MCP Server Tools")).toBeVisible();
// Select some actions
const rowsCount = await page.getByRole("row").count();

View file

@ -105,13 +105,11 @@ test(
await page.getByTestId("menu_settings_button").click({ timeout: 3000 });
await page.waitForSelector('[data-testid="sidebar-nav-MCP Connections"]', {
await page.waitForSelector('[data-testid="sidebar-nav-MCP Servers"]', {
timeout: 30000,
});
await page
.getByTestId("sidebar-nav-MCP Connections")
.click({ timeout: 3000 });
await page.getByTestId("sidebar-nav-MCP Servers").click({ timeout: 3000 });
await page.waitForSelector('[data-testid="add-mcp-server-button-page"]', {
timeout: 3000,