update some tests

This commit is contained in:
Philipp Kühn
2020-09-11 21:04:55 +02:00
parent 8df2a5d25e
commit 46cee66db9
4 changed files with 13 additions and 18 deletions

View File

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