fix tests
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
context('/examples/basic', () => {
|
||||
context('/examples/default', () => {
|
||||
before(() => {
|
||||
cy.visit('/examples/basic')
|
||||
cy.visit('/examples/default')
|
||||
})
|
||||
|
||||
// TODO: Write tests
|
||||
|
||||
@@ -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}')
|
||||
})
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user