Merge pull request #6913 from mermaid-js/fix/mindmap-cypress-visual-tests

Fix failing Cypress visual tests in mindmap diagrams
This commit is contained in:
Shubham P
2025-09-04 13:48:26 +00:00
committed by GitHub

View File

@@ -228,25 +228,21 @@ root
`mindmap
id1[\`**Start** with
a second line 😎\`]
id2[\`The dog in **the** hog... a *very long text* about it
Word!\`]
`
id2[\`The dog in **the** hog... a *very long text* about it Word!\`]`
);
});
});
describe('Include char sequence "graph" in text (#6795)', () => {
it('has a label with char sequence "graph"', () => {
imgSnapshotTest(
`
mindmap
` mindmap
root
Photograph
Waterfall
Landscape
Geography
Mountains
Rocks
`,
Rocks`,
{ flowchart: { defaultRenderer: 'elk' } }
);
});