mirror of
https://github.com/ueberdosis/tiptap.git
synced 2024-11-27 23:15:15 +08:00
style(examples): fix linting issues in custom document test
This commit is contained in:
parent
3d0074b294
commit
0532770170
@ -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')
|
||||||
|
Loading…
Reference in New Issue
Block a user