Skip to content

Commit

Permalink
Fix commenting test
Browse files Browse the repository at this point in the history
  • Loading branch information
sidharthv96 committed Apr 13, 2023
1 parent 28452a8 commit 6fc44e0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cypress/e2e/diagramUpdate.spec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { typeInEditor, cmd, getEditor } from './util';
import { typeInEditor, cmd } from './util';

describe('Auto sync tests', () => {
beforeEach(() => {
Expand Down Expand Up @@ -50,8 +50,8 @@ describe('Auto sync tests', () => {
});

it('supports commenting code out/in', () => {
getEditor().contains('Car').click();
getEditor().get('textarea').type(`${cmd}/`);
cy.get('#editor').contains('Car').click();
cy.get('#editor').get('textarea').type(`${cmd}/`);
cy.get('#view').contains('Car').should('not.exist');

typeInEditor(`{uparrow}${cmd}/`);
Expand Down

0 comments on commit 6fc44e0

Please sign in to comment.