diff --git a/docs/src/demos/Examples/Focus/index.spec.js b/docs/src/demos/Examples/Focus/index.spec.js index 1c7271a6..029eb69e 100644 --- a/docs/src/demos/Examples/Focus/index.spec.js +++ b/docs/src/demos/Examples/Focus/index.spec.js @@ -4,8 +4,6 @@ context('/examples/focus', () => { }) it('should have class', () => { - cy.get('.ProseMirror').then(([{ editor }]) => { - cy.get('.ProseMirror p:first').should('have.class', 'has-focus') - }) + cy.get('.ProseMirror p:first').should('have.class', 'has-focus') }) })