Fix iife test

This commit is contained in:
Sidharth Vinod
2023-08-12 16:47:07 +05:30
parent 0644fdfee6
commit 91658a0c30

View File

@@ -6,6 +6,6 @@ describe('IIFE', () => {
it('should render when using mermaid.min.js', () => { it('should render when using mermaid.min.js', () => {
cy.window().should('have.property', 'rendered', true); cy.window().should('have.property', 'rendered', true);
cy.get('svg').should('be.visible'); cy.get('svg').should('be.visible');
cy.get('#d2').should('have.text', 'Hello'); cy.get('#d2').should('contain', 'Hello');
}); });
}); });