mirror of
				https://github.com/mermaid-js/mermaid.git
				synced 2025-11-03 20:34:20 +01:00 
			
		
		
		
	test(e2e): add array and generic attributes erDiagram test
This commit is contained in:
		@@ -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(
 | 
			
		||||
      `
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user