mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-27 03:09:43 +02:00
Merge branch 'develop' into next
* develop: (50 commits) Use pixelmatch for image comparison Run all tests Fix lint Update lockfile E2E test Use cache to store snapshots chore(deps): update all patch dependencies Change string concatenation to template literal Revert "Revert 5041 feature/4935 subgraph title margin config option" build(deps-dev): bump follow-redirects from 1.15.2 to 1.15.5 Run dev docs without npx Remove npx completely from run script Update docs Fix linters Removed volta requirement, leave pnpm only Fixed dead link build Update docs Updated contributing docs after review, minor fixes Updated gantt chart docs to show all config options ...
This commit is contained in:
@@ -117,7 +117,6 @@ describe('Configuration', () => {
|
||||
});
|
||||
it('should not taint the initial configuration when using multiple directives', () => {
|
||||
const url = 'http://localhost:9000/regression/issue-1874.html';
|
||||
cy.viewport(1440, 1024);
|
||||
cy.visit(url);
|
||||
|
||||
cy.get('svg');
|
||||
|
@@ -1,14 +1,12 @@
|
||||
describe('Rerendering', () => {
|
||||
it('should be able to render after an error has occurred', () => {
|
||||
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';
|
||||
cy.viewport(1440, 1024);
|
||||
cy.visit(url);
|
||||
cy.get('#graph [id^=flowchart-A]').should('have.text', 'XMas');
|
||||
|
||||
|
Reference in New Issue
Block a user