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

@@ -13,7 +13,7 @@ context('/demos/Extensions/History', () => {
cy.get('.ProseMirror')
.should('contain', 'Mistake')
cy.get('.demo__preview button:first')
cy.get('button:first')
.click()
cy.get('.ProseMirror')
@@ -30,13 +30,13 @@ context('/demos/Extensions/History', () => {
cy.get('.ProseMirror')
.should('contain', 'Mistake')
cy.get('.demo__preview button:first')
cy.get('button:first')
.click()
cy.get('.ProseMirror')
.should('not.contain', 'Mistake')
cy.get('.demo__preview button:nth-child(2)')
cy.get('button:nth-child(2)')
.click()
cy.get('.ProseMirror')