This commit is contained in:
Ronid1 2024-01-26 14:07:12 -08:00
parent 70d9f50fc9
commit 36c196e80b

View File

@ -375,6 +375,19 @@ context('Sequence diagram', () => {
{}
);
});
it('should have actor-top class on top actor box and symbol', () => {
imgSnapshotTest(
`
sequenceDiagram
actor Bob
Alice->>Bob: Hi Bob
Bob->>Alice: Hi Alice
`,
{}
);
cy.get('.actor').should('have.class', 'actor-top');
cy.get('.actor-man').should('have.class', 'actor-top');
});
it('should render long notes left of actor', () => {
imgSnapshotTest(
`