test(e2e): add array and generic attributes erDiagram test

This commit is contained in:
FlorianWoelki
2022-08-20 15:15:05 +02:00
parent e19581b540
commit 19a9f90186

View File

@@ -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(
`