add spec around commenting code
This commit is contained in:
@@ -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');
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user