From 5a6dccb263d820155687d0cffdceff516a78428b Mon Sep 17 00:00:00 2001 From: Sidharth Vinod Date: Fri, 24 Feb 2023 10:36:20 +0530 Subject: [PATCH] fix: Comment test caret location --- cypress/e2e/diagramUpdate.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cypress/e2e/diagramUpdate.spec.ts b/cypress/e2e/diagramUpdate.spec.ts index c209be3e..4dad0613 100644 --- a/cypress/e2e/diagramUpdate.spec.ts +++ b/cypress/e2e/diagramUpdate.spec.ts @@ -49,7 +49,7 @@ describe('Auto sync tests', () => { }); it('supports commenting code out/in', () => { - getEditor().type(`{uparrow}${cmd}/`); + getEditor({ bottom: true, newline: false }).type(`{uparrow}${cmd}/`); cy.get('#view').contains('Car').should('not.exist'); getEditor().type(`{uparrow}${cmd}/`);