From 9e6168111f313ac5bdfab8bfe5c714eddbd8ef78 Mon Sep 17 00:00:00 2001 From: mikejeffers Date: Sat, 20 May 2023 15:20:28 -0400 Subject: [PATCH] add e2e test --- cypress/integration/rendering/mindmap.spec.ts | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/cypress/integration/rendering/mindmap.spec.ts b/cypress/integration/rendering/mindmap.spec.ts index 94b3f9ca0..e390beaee 100644 --- a/cypress/integration/rendering/mindmap.spec.ts +++ b/cypress/integration/rendering/mindmap.spec.ts @@ -52,6 +52,17 @@ root[A root with a long text that wraps to keep the node size in check] ); }); + it('a root with wrapping text and long words that exceed width', () => { + imgSnapshotTest( + `mindmap +root[A few smaller words but then averylongsetofcharacterswithoutwhitespacetoseparate that we expect to wrapontonextlinesandnotexceedwidthparameters] + `, + {}, + undefined, + shouldHaveRoot + ); + }); + it('a root with an icon', () => { imgSnapshotTest( `mindmap