add done again

This commit is contained in:
Philipp Kühn
2020-09-11 18:52:18 +02:00
parent cc0695feb6
commit 8df2a5d25e
10 changed files with 21 additions and 10 deletions

View File

@@ -3,11 +3,12 @@ context('/api/extensions/italic', () => {
cy.visit('/api/extensions/italic')
})
beforeEach(() => {
beforeEach(done => {
cy.get('.ProseMirror').then(([{ editor }]) => {
editor.setContent('<p>Example Text</p>')
editor.focus()
editor.selectAll()
done()
})
})