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}/`);