From efd5cf1c6717608b626d1f823ee21266401f035e Mon Sep 17 00:00:00 2001 From: Ashish Jain Date: Mon, 1 Jul 2024 11:06:45 +0200 Subject: [PATCH] Added test for divider alignment --- .../integration/rendering/stateDiagram-v2.spec.js | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/cypress/integration/rendering/stateDiagram-v2.spec.js b/cypress/integration/rendering/stateDiagram-v2.spec.js index a4737da6b..606a1a3f5 100644 --- a/cypress/integration/rendering/stateDiagram-v2.spec.js +++ b/cypress/integration/rendering/stateDiagram-v2.spec.js @@ -588,6 +588,20 @@ title: simple state diagram stateDiagram-v2 [*] --> State1 State1 --> [*] +`, + {} + ); + }); + it('should align dividers correctly', () => { + imgSnapshotTest( + `stateDiagram-v2 + state s2 { + s3 + -- + s4 + -- + 55 + } `, {} );