diff --git a/docs/src/demos/Nodes/TaskList/index.spec.js b/docs/src/demos/Nodes/TaskList/index.spec.js
index 34ef8a02..8d7db95e 100644
--- a/docs/src/demos/Nodes/TaskList/index.spec.js
+++ b/docs/src/demos/Nodes/TaskList/index.spec.js
@@ -12,15 +12,15 @@ context('/api/nodes/task-list', () => {
it('should parse unordered lists correctly', () => {
cy.get('.ProseMirror').then(([{ editor }]) => {
- editor.commands.setContent('
')
- expect(editor.getHTML()).to.eq('')
+ editor.commands.setContent('')
+ expect(editor.getHTML()).to.eq('')
})
})
it('should parse unordered lists without paragraphs correctly', () => {
cy.get('.ProseMirror').then(([{ editor }]) => {
- editor.commands.setContent('')
- expect(editor.getHTML()).to.eq('')
+ editor.commands.setContent('')
+ expect(editor.getHTML()).to.eq('')
})
})
@@ -35,11 +35,11 @@ context('/api/nodes/task-list', () => {
.click()
cy.get('.ProseMirror')
- .find('ul[data-type="task_list"]')
+ .find('ul[data-type="taskList"]')
.should('contain', 'Example Text')
cy.get('.ProseMirror')
- .find('ul[data-type="task_list"] li')
+ .find('ul[data-type="taskList"] li')
.should('contain', 'Example Text')
})
@@ -51,7 +51,7 @@ context('/api/nodes/task-list', () => {
.click()
cy.get('.ProseMirror')
- .find('ul[data-type="task_list"]')
+ .find('ul[data-type="taskList"]')
.should('contain', 'Example Text')
cy.get('.demo__preview button:nth-child(1)')