mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-07-20 23:21:06 +02:00
refactor(connector-popup): simplify terminology by renaming "Manage External MCP Connectors" to "MCP Connectors" across components and tests
This commit is contained in:
parent
91531286b2
commit
faffd9974c
15 changed files with 17 additions and 17 deletions
|
|
@ -44,7 +44,7 @@ test.describe("ClickUp connector journey", () => {
|
|||
waitUntil: "domcontentloaded",
|
||||
});
|
||||
await openConnectorPopup(page);
|
||||
const connectorDialog = page.getByRole("dialog", { name: "Manage External MCP Connectors" });
|
||||
const connectorDialog = page.getByRole("dialog", { name: "MCP Connectors" });
|
||||
await expect(connectorDialog).toBeVisible();
|
||||
await expect(connectorDialog.getByText("ClickUp")).toBeVisible();
|
||||
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ test.describe("Composio Calendar journey", () => {
|
|||
waitUntil: "domcontentloaded",
|
||||
});
|
||||
await openConnectorPopup(page);
|
||||
const connectorDialog = page.getByRole("dialog", { name: "Manage External MCP Connectors" });
|
||||
const connectorDialog = page.getByRole("dialog", { name: "MCP Connectors" });
|
||||
await expect(connectorDialog).toBeVisible();
|
||||
|
||||
const beforeChatDocs = await listDocuments(request, apiToken, workspace.id);
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ test.describe("Composio Gmail journey", () => {
|
|||
waitUntil: "domcontentloaded",
|
||||
});
|
||||
await openConnectorPopup(page);
|
||||
const connectorDialog = page.getByRole("dialog", { name: "Manage External MCP Connectors" });
|
||||
const connectorDialog = page.getByRole("dialog", { name: "MCP Connectors" });
|
||||
await expect(connectorDialog).toBeVisible();
|
||||
|
||||
const beforeChatDocs = await listDocuments(request, apiToken, workspace.id);
|
||||
|
|
|
|||
|
|
@ -48,7 +48,7 @@ test.describe("Confluence connector journey", () => {
|
|||
waitUntil: "domcontentloaded",
|
||||
});
|
||||
await openConnectorPopup(page);
|
||||
const connectorDialog = page.getByRole("dialog", { name: "Manage External MCP Connectors" });
|
||||
const connectorDialog = page.getByRole("dialog", { name: "MCP Connectors" });
|
||||
await expect(connectorDialog).toBeVisible();
|
||||
await connectorDialog.getByPlaceholder("Search").fill("Confluence");
|
||||
await expect(connectorDialog.getByText("Confluence", { exact: true })).toBeVisible();
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ test.describe("Native Google Calendar journey", () => {
|
|||
waitUntil: "domcontentloaded",
|
||||
});
|
||||
await openConnectorPopup(page);
|
||||
const connectorDialog = page.getByRole("dialog", { name: "Manage External MCP Connectors" });
|
||||
const connectorDialog = page.getByRole("dialog", { name: "MCP Connectors" });
|
||||
await expect(connectorDialog).toBeVisible();
|
||||
|
||||
const beforeDocs = await listDocuments(request, apiToken, workspace.id);
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ test.describe("Native Google Gmail journey", () => {
|
|||
waitUntil: "domcontentloaded",
|
||||
});
|
||||
await openConnectorPopup(page);
|
||||
const connectorDialog = page.getByRole("dialog", { name: "Manage External MCP Connectors" });
|
||||
const connectorDialog = page.getByRole("dialog", { name: "MCP Connectors" });
|
||||
await expect(connectorDialog).toBeVisible();
|
||||
|
||||
const beforeDocs = await listDocuments(request, apiToken, workspace.id);
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@ test.describe("Jira connector journey", () => {
|
|||
waitUntil: "domcontentloaded",
|
||||
});
|
||||
await openConnectorPopup(page);
|
||||
const connectorDialog = page.getByRole("dialog", { name: "Manage External MCP Connectors" });
|
||||
const connectorDialog = page.getByRole("dialog", { name: "MCP Connectors" });
|
||||
await expect(connectorDialog).toBeVisible();
|
||||
await connectorDialog.getByPlaceholder("Search").fill("Jira");
|
||||
await expect(connectorDialog.getByText("Jira", { exact: true })).toBeVisible();
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@ test.describe("Linear connector journey", () => {
|
|||
waitUntil: "domcontentloaded",
|
||||
});
|
||||
await openConnectorPopup(page);
|
||||
const connectorDialog = page.getByRole("dialog", { name: "Manage External MCP Connectors" });
|
||||
const connectorDialog = page.getByRole("dialog", { name: "MCP Connectors" });
|
||||
await expect(connectorDialog).toBeVisible();
|
||||
|
||||
const beforeDocs = await listDocuments(request, apiToken, workspace.id);
|
||||
|
|
|
|||
|
|
@ -43,7 +43,7 @@ test.describe("Notion connector journey", () => {
|
|||
waitUntil: "domcontentloaded",
|
||||
});
|
||||
await openConnectorPopup(page);
|
||||
const connectorDialog = page.getByRole("dialog", { name: "Manage External MCP Connectors" });
|
||||
const connectorDialog = page.getByRole("dialog", { name: "MCP Connectors" });
|
||||
await expect(connectorDialog).toBeVisible();
|
||||
await connectorDialog.getByPlaceholder("Search").fill("Notion");
|
||||
await expect(connectorDialog.getByText("Notion", { exact: true })).toBeVisible();
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@ test.describe("Slack connector journey", () => {
|
|||
waitUntil: "domcontentloaded",
|
||||
});
|
||||
await openConnectorPopup(page);
|
||||
const connectorDialog = page.getByRole("dialog", { name: "Manage External MCP Connectors" });
|
||||
const connectorDialog = page.getByRole("dialog", { name: "MCP Connectors" });
|
||||
await expect(connectorDialog).toBeVisible();
|
||||
await connectorDialog.getByPlaceholder("Search").fill("Slack");
|
||||
await expect(connectorDialog.getByText("Slack", { exact: true })).toBeVisible();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue