fix crapcode

This commit is contained in:
Philipp Kühn
2020-09-11 18:35:25 +02:00
parent 3b67e58941
commit 7350f52392
12 changed files with 20 additions and 25 deletions

View File

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