Skip to content

Commit 6ffc992

Browse files
committed
test(cypress): Wait for contenteditable before typing
Signed-off-by: Julius Härtl <jus@bitgrid.net>
1 parent 6bef049 commit 6ffc992

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cypress/e2e/conflict.spec.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ function createConflict(fileName, mime) {
116116
cy.visit('/apps/files')
117117
cy.openFile(fileName)
118118
cy.log('Inspect editor')
119+
cy.getEditor().find('.ProseMirror').should('have.attr', 'contenteditable', 'true')
119120
cy.getContent()
120121
.type('Hello you cruel conflicting world')
121122
cy.uploadFile(fileName, mime)

0 commit comments

Comments
 (0)