From 6ffc99226d24f518cfff968effceef3e72cd3f46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4rtl?= Date: Tue, 13 Aug 2024 22:31:05 +0200 Subject: [PATCH] test(cypress): Wait for contenteditable before typing MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- cypress/e2e/conflict.spec.js | 1 + 1 file changed, 1 insertion(+) diff --git a/cypress/e2e/conflict.spec.js b/cypress/e2e/conflict.spec.js index b4c7aa47f8c..fc5e81f6603 100644 --- a/cypress/e2e/conflict.spec.js +++ b/cypress/e2e/conflict.spec.js @@ -116,6 +116,7 @@ function createConflict(fileName, mime) { cy.visit('/apps/files') cy.openFile(fileName) cy.log('Inspect editor') + cy.getEditor().find('.ProseMirror').should('have.attr', 'contenteditable', 'true') cy.getContent() .type('Hello you cruel conflicting world') cy.uploadFile(fileName, mime)