Skip to content

Commit

Permalink
add spec around commenting code
Browse files Browse the repository at this point in the history
  • Loading branch information
HeroProtagonist committed Jan 23, 2022
1 parent 5efa473 commit 534b9fb
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions cypress/integration/diagramUpdate.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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');
});
});

0 comments on commit 534b9fb

Please sign in to comment.