From e69b4def131f7c63df79e0d06ffb186aa2f0d317 Mon Sep 17 00:00:00 2001 From: Sidharth Vinod Date: Thu, 7 Jul 2022 01:15:57 +0530 Subject: [PATCH] Fix test --- cypress/e2e/diagramUpdate.spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cypress/e2e/diagramUpdate.spec.ts b/cypress/e2e/diagramUpdate.spec.ts index 3fc2bf22..36746daf 100644 --- a/cypress/e2e/diagramUpdate.spec.ts +++ b/cypress/e2e/diagramUpdate.spec.ts @@ -16,7 +16,7 @@ describe('Auto sync tests', () => { it('should dim diagram when code is edited', () => { cy.contains('Auto sync').click(); cy.get('#view').should('not.have.class', 'outOfSync'); - getEditor().type('C --> Test'); + getEditor().type(' C --> Test'); cy.get('#view').should('have.class', 'outOfSync'); cy.getLocalStorage('codeStore').snapshot(); }); @@ -32,7 +32,7 @@ describe('Auto sync tests', () => { it('should not dim diagram when code is in sync', () => { cy.contains('Auto sync').click(); cy.get('#view').should('not.have.class', 'outOfSync'); - getEditor().type('C --> Test'); + getEditor().type(' C --> Test'); cy.get('#view').should('have.class', 'outOfSync'); cy.get('[data-cy=sync]').click(); cy.get('#view').should('not.have.class', 'outOfSync');