This commit is contained in:
Hans Pagel
2020-08-19 18:17:44 +02:00
parent d9cb39324e
commit 1873cd89fc

View File

@@ -3,7 +3,7 @@ context('focus', () => {
cy.visit('/examples/focus')
})
describe('editable', () => {
describe('focus class', () => {
it('should have class', () => {
cy.get('.ProseMirror').window().then(window => {
cy.get('.ProseMirror p:first').should('have.class', 'has-focus')