diff --git a/cypress/integration/diagramUpdate.spec.ts b/cypress/integration/diagramUpdate.spec.ts index 0edcf569..640e4e4e 100644 --- a/cypress/integration/diagramUpdate.spec.ts +++ b/cypress/integration/diagramUpdate.spec.ts @@ -30,4 +30,12 @@ describe('Auto sync tests', () => { cy.get('#view').should('not.have.class', 'outOfSync'); cy.getLocalStorage('codeStore').snapshot(); }); + + it('supports commenting code out/in', () => { + cy.get('#editor').type('{uparrow} {cmd}/'); + cy.get('#view').contains('Car').should('not.exist'); + + cy.get('#editor').type('{uparrow} {cmd}/'); + cy.get('#view').contains('Car').should('exist'); + }); });