fix tests

This commit is contained in:
Philipp Kühn
2021-02-03 18:36:54 +01:00
parent 35f1717b44
commit ca961cc187
18 changed files with 51 additions and 51 deletions

View File

@@ -31,7 +31,7 @@ context('/demos/Nodes/TaskList', () => {
cy.get('.ProseMirror ul li')
.should('not.exist')
cy.get('.demo__preview button:nth-child(1)')
cy.get('button:nth-child(1)')
.click()
cy.get('.ProseMirror')
@@ -47,14 +47,14 @@ context('/demos/Nodes/TaskList', () => {
cy.get('.ProseMirror ul')
.should('not.exist')
cy.get('.demo__preview button:nth-child(1)')
cy.get('button:nth-child(1)')
.click()
cy.get('.ProseMirror')
.find('ul[data-type="taskList"]')
.should('contain', 'Example Text')
cy.get('.demo__preview button:nth-child(1)')
cy.get('button:nth-child(1)')
.click()
cy.get('.ProseMirror ul')