diff --git a/cypress/integration/rendering/flowchart.spec.js b/cypress/integration/rendering/flowchart.spec.js index 19dc312d76..4729537ccc 100644 --- a/cypress/integration/rendering/flowchart.spec.js +++ b/cypress/integration/rendering/flowchart.spec.js @@ -428,4 +428,29 @@ describe('Flowcart', () => { { flowchart: { htmlLabels: false } } ); }); + it('17: Chaining of nodes', () => { + imgSnapshotTest( + `graph LR + a --> b --> c + `, + { flowchart: { htmlLabels: false } } + ); + }); + it('18: Multiple nodes and chaining in one statement', () => { + imgSnapshotTest( + `graph LR + a --> b c--> d + `, + { flowchart: { htmlLabels: false } } + ); + }); + it('19: Multiple nodes and chaining in one statement', () => { + imgSnapshotTest( + `graph TD + A[ h ] -- hello --> B[" test "]:::exClass C --> D; + classDef exClass background:#bbb,border:1px solid red; + `, + { flowchart: { htmlLabels: false } } + ); + }); }); diff --git a/cypress/platform/current.html b/cypress/platform/current.html index 9e5267768b..d2e48875cf 100644 --- a/cypress/platform/current.html +++ b/cypress/platform/current.html @@ -5,7 +5,7 @@ rel="stylesheet" />