From 70f679d2fa4c2e72023bd5791bf6428572d1f454 Mon Sep 17 00:00:00 2001 From: kairi003 Date: Sun, 10 Nov 2024 20:27:35 +0900 Subject: [PATCH] add: e2e test for classDiagram-v3 --- .../integration/rendering/classDiagram-v3.spec.js | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/cypress/integration/rendering/classDiagram-v3.spec.js b/cypress/integration/rendering/classDiagram-v3.spec.js index 626d6fcea..7e8d2ff0a 100644 --- a/cypress/integration/rendering/classDiagram-v3.spec.js +++ b/cypress/integration/rendering/classDiagram-v3.spec.js @@ -709,6 +709,20 @@ class C13["With Città foreign language"] ` ); }); + it('should add notes in namespaces', function () { + imgSnapshotTest( + ` + classDiagram + note "This is a outer note" + note for C1 "This is a outer note for C1" + namespace Namespace1 { + note "This is a inner note" + note for C1 "This is a inner note for C1" + class C1 + } + ` + ); + }); it('should render a simple class diagram with no members', () => { imgSnapshotTest( `