From d64f742d0fd7a20ef2ea9beb57445bd2dc538780 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4rtl?= Date: Wed, 19 Jul 2023 14:58:46 +0200 Subject: [PATCH] ci: Fix cypress test failing due to new autofocus cursor position MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- cypress/e2e/sync.spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cypress/e2e/sync.spec.js b/cypress/e2e/sync.spec.js index a056372fa8..1bc8574e20 100644 --- a/cypress/e2e/sync.spec.js +++ b/cypress/e2e/sync.spec.js @@ -40,7 +40,7 @@ describe('Sync', () => { }).as('sync') cy.openTestFile() cy.getContent().find('h2').should('contain', 'Hello world') - cy.getContent().type('* Saving the doc saves the doc state{enter}') + cy.getContent().type('{moveToEnd}* Saving the doc saves the doc state{enter}') }) it('saves the actual file and document state', () => {