diff --git a/cypress/integration/other/iife.spec.js b/cypress/integration/other/iife.spec.js index 36508f0bb..4eb860146 100644 --- a/cypress/integration/other/iife.spec.js +++ b/cypress/integration/other/iife.spec.js @@ -6,6 +6,6 @@ describe('IIFE', () => { it('should render when using mermaid.min.js', () => { cy.window().should('have.property', 'rendered', true); cy.get('svg').should('be.visible'); - cy.get('#d2').should('have.text', 'Hello'); + cy.get('#d2').should('contain', 'Hello'); }); });