From 19a9f90186624935f9a0f294dde992fc1edd3555 Mon Sep 17 00:00:00 2001 From: FlorianWoelki Date: Sat, 20 Aug 2022 15:15:05 +0200 Subject: [PATCH] test(e2e): add array and generic attributes erDiagram test --- cypress/integration/rendering/erDiagram.spec.js | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/cypress/integration/rendering/erDiagram.spec.js b/cypress/integration/rendering/erDiagram.spec.js index 579a1808d..781a8ca25 100644 --- a/cypress/integration/rendering/erDiagram.spec.js +++ b/cypress/integration/rendering/erDiagram.spec.js @@ -167,6 +167,21 @@ describe('Entity Relationship Diagram', () => { cy.get('svg'); }); + it.only('should render entities with generic and array attributes', () => { + renderGraph( + ` + erDiagram + BOOK { + string title + string[] authors + type~T~ type + } + `, + { logLevel: 1 } + ); + cy.get('svg'); + }); + it('should render entities and attributes with big and small entity names', () => { renderGraph( `