Skip to content

Commit

Permalink
Add e2e test for edge case
Browse files Browse the repository at this point in the history
  • Loading branch information
mathbraga committed Dec 8, 2023
1 parent 7e1cc27 commit c8f0b39
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions cypress/integration/rendering/flowchart-v2.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -741,6 +741,25 @@ A ~~~ B
);
});

it('5059: Should render when subgraph contains only subgraphs, has link to outside and itself is part of a link', () => {
imgSnapshotTest(
`flowchart
subgraph Main
subgraph Child1
Node1
Node2
end
subgraph Child2
Node3
Node4
end
end
Main --> Out1
Child2 --> Out2`
);
});

describe('Markdown strings flowchart (#4220)', () => {
describe('html labels', () => {
it('With styling and classes', () => {
Expand Down

0 comments on commit c8f0b39

Please sign in to comment.