style(examples): fix linting issues in custom document test

This commit is contained in:
Dominik Biedebach 2022-05-11 11:54:13 +02:00 committed by Dominik
parent 3d0074b294
commit 0532770170

View File

@ -35,8 +35,8 @@ context('/src/Examples/CustomDocument/React/', () => {
.should('exist') .should('exist')
.should('have.text', 'Hello world') .should('have.text', 'Hello world')
cy.get('.ProseMirror p[data-placeholder]') cy.get('.ProseMirror p[data-placeholder]')
.should('exist'). .should('exist')
should('have.attr', 'data-placeholder', 'Can you add some further context?') .should('have.attr', 'data-placeholder', 'Can you add some further context?')
cy.get('.ProseMirror').type('This is a paragraph for this test document') cy.get('.ProseMirror').type('This is a paragraph for this test document')
cy.get('.ProseMirror p') cy.get('.ProseMirror p')