test: e2e test

This commit is contained in:
Xavier Stouder
2021-08-26 11:36:21 +02:00
parent 8a8f792d4b
commit 46a7039ae9

View File

@@ -370,4 +370,17 @@ describe('Class diagram V2', () => {
);
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');
});
});