Skip to content

Commit 5316832

Browse files
committed
fix: cypress tests
1 parent b990c10 commit 5316832

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/spaces/mcp/components/McpHeader.cy.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ describe('McpHeader', () => {
2222

2323
cy.mount(<McpHeader mcp={mcp} />);
2424

25-
cy.contains('span', 'my-control-plane').should('be.visible');
26-
cy.contains('span', '[email protected]').should('be.visible');
27-
cy.contains('span', `${creationDateAsString} (2 days ago)`).should('be.visible');
25+
cy.contains('my-control-plane').should('be.visible');
26+
cy.contains('[email protected]').should('be.visible');
27+
cy.contains(`${creationDateAsString} (2 days ago)`).should('be.visible');
2828
});
2929

3030
it('renders with missing MCP metadata', () => {
@@ -44,7 +44,7 @@ describe('McpHeader', () => {
4444

4545
cy.mount(<McpHeader mcp={mcp} />);
4646

47-
cy.contains('span', 'my-control-plane').should('be.visible');
48-
cy.contains('span', `${creationDateAsString} (2 days ago)`).should('be.visible');
47+
cy.contains('my-control-plane').should('be.visible');
48+
cy.contains(`${creationDateAsString} (2 days ago)`).should('be.visible');
4949
});
5050
});

0 commit comments

Comments
 (0)