diff --git a/README.md b/README.md index 9e8c2ef0a..ff4ace36a 100644 --- a/README.md +++ b/README.md @@ -214,7 +214,7 @@ pie ## Related projects -- [Command Line Interface](https://github.com/mermaid-js/mermaid-cli) +- [Command Line Interface](https://github.com/mermaid-js/mermaid.cli) - [Live Editor](https://github.com/mermaid-js/mermaid-live-editor) - [HTTP Server](https://github.com/TomWright/mermaid-server) diff --git a/cypress/integration/other/configuration.spec.js b/cypress/integration/other/configuration.spec.js index c970c89b4..c2f1533b2 100644 --- a/cypress/integration/other/configuration.spec.js +++ b/cypress/integration/other/configuration.spec.js @@ -88,7 +88,7 @@ describe('Configuration', () => { C -->|Three| F[fa:fa-car Car] `, { - logLevel:0, arrowMarkerAbsolute: true,fontFamily: '"Noto Sans SC", sans-serif' + arrowMarkerAbsolute: true } ); diff --git a/cypress/integration/other/rerender.spec.js b/cypress/integration/other/rerender.spec.js index d7b3d2b47..06967af59 100644 --- a/cypress/integration/other/rerender.spec.js +++ b/cypress/integration/other/rerender.spec.js @@ -1,5 +1,11 @@ /* eslint-env jest */ describe('Rerendering', () => { + it('should be able to render after an error has occured', () => { + const url = 'http://localhost:9000/render-after-error.html'; + cy.viewport(1440, 1024); + cy.visit(url); + cy.get('#graphDiv').should('exist'); + }); it('should be able to render and rerender a graph via API', () => { const url = 'http://localhost:9000/rerender.html'; diff --git a/cypress/platform/current.html b/cypress/platform/current.html index c85448301..b6f050bcd 100644 --- a/cypress/platform/current.html +++ b/cypress/platform/current.html @@ -4,15 +4,16 @@ href="https://fonts.googleapis.com/css?family=Montserrat&display=swap" rel="stylesheet" /> +