Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

test: update test assertions to use exact string match for tab name

Steven Enamakel72c24596880d
diff --git a/app/src/components/channels/mcp/McpServersTab.test.tsx b/app/src/components/channels/mcp/McpServersPage.test.tsx
similarity index 100%
rename from app/src/components/channels/mcp/McpServersTab.test.tsx
rename to app/src/components/channels/mcp/McpServersPage.test.tsx
diff --git a/app/src/pages/__tests__/Skills.mcp-coming-soon.test.tsx b/app/src/pages/__tests__/Skills.mcp-coming-soon.test.tsx
index 9fd9aae26f..524fe4eee0 100644
--- a/app/src/pages/__tests__/Skills.mcp-coming-soon.test.tsx
+++ b/app/src/pages/__tests__/Skills.mcp-coming-soon.test.tsx
@@ -58,7 +58,7 @@ describe('Skills page — MCP Servers tab (MCP + Meeting bots)', () => {
// The MCP page is three notations: the server rows, the document, the
// directory.
await waitFor(() => {
- expect(screen.getByRole('tab', { name: /Servers/i })).toBeInTheDocument();
+ expect(screen.getByRole('tab', { name: 'Servers' })).toBeInTheDocument();
});
expect(screen.getByRole('tab', { name: 'mcp.json' })).toBeInTheDocument();
expect(screen.getByRole('tab', { name: 'Registry' })).toBeInTheDocument();
@@ -98,7 +98,7 @@ describe('Skills page — MCP Servers tab (MCP + Meeting bots)', () => {
expect(screen.getByTestId('two-pane-nav-mcp')).toHaveAttribute('aria-current', 'page');
await waitFor(() => {
- expect(screen.getByRole('tab', { name: /Servers/i })).toBeInTheDocument();
+ expect(screen.getByRole('tab', { name: 'Servers' })).toBeInTheDocument();
});
});
});