fix tests

This commit is contained in:
Philipp Kühn
2021-01-21 17:40:50 +01:00
parent 41fcef8867
commit 223ffaab1e
19 changed files with 21 additions and 21 deletions

View File

@@ -1,6 +1,6 @@
context('/examples/basic', () => {
context('/examples/default', () => {
before(() => {
cy.visit('/examples/basic')
cy.visit('/examples/default')
})
// TODO: Write tests

View File

@@ -6,7 +6,7 @@ context('/examples/default', () => {
beforeEach(() => {
cy.get('.ProseMirror').then(([{ editor }]) => {
editor.commands.setContent('<h1>Example Text</h1>')
editor.commands.selectAll()
cy.get('.ProseMirror').type('{selectall}')
})
})