mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-07 09:36:41 +02:00
test: e2e test
This commit is contained in:
@@ -370,4 +370,17 @@ describe('Class diagram V2', () => {
|
|||||||
);
|
);
|
||||||
cy.get('svg');
|
cy.get('svg');
|
||||||
});
|
});
|
||||||
|
|
||||||
|
it('16: should render a simple class diagram with static field', () => {
|
||||||
|
imgSnapshotTest(
|
||||||
|
`
|
||||||
|
classDiagram-v2
|
||||||
|
Foo {
|
||||||
|
+String bar$
|
||||||
|
}
|
||||||
|
`,
|
||||||
|
{logLevel : 1, flowchart: { "htmlLabels": false },}
|
||||||
|
);
|
||||||
|
cy.get('svg');
|
||||||
|
});
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user