add spec around commenting code

This commit is contained in:
HeroProtagonist
2022-01-22 23:50:22 -05:00
parent 5efa473e2d
commit 534b9fb08b
@@ -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');
});
});