From 9c511559ffccf07e13dcbcccabf05d64e3c0018c Mon Sep 17 00:00:00 2001 From: Knut Sveidqvist Date: Sat, 18 Sep 2021 07:51:15 +0200 Subject: [PATCH] #2315 Adding to docs and an integration test --- .../integration/rendering/sequencediagram.spec.js | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/cypress/integration/rendering/sequencediagram.spec.js b/cypress/integration/rendering/sequencediagram.spec.js index 7a35f79c5..cdb9ae8a8 100644 --- a/cypress/integration/rendering/sequencediagram.spec.js +++ b/cypress/integration/rendering/sequencediagram.spec.js @@ -173,6 +173,18 @@ context('Sequence diagram', () => { {} ); }); + it('should be possible to use actor symbols instead of boxes', () => { + imgSnapshotTest( + ` + sequenceDiagram + actor Alice + actor Bob + Alice->>Bob: Hi Bob + Bob->>Alice: Hi Alice + `, + {} + ); + }); it('should render long notes left of actor', () => { imgSnapshotTest( `