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

@@ -25,7 +25,7 @@ context('/demos/Nodes/CodeBlock', () => {
})
it('the button should make the selected line a code block', () => {
cy.get('.demo__preview button:first')
cy.get('button:first')
.click()
cy.get('.ProseMirror')
@@ -34,7 +34,7 @@ context('/demos/Nodes/CodeBlock', () => {
})
it('the button should toggle the code block', () => {
cy.get('.demo__preview button:first')
cy.get('button:first')
.click()
cy.get('.ProseMirror')
@@ -44,7 +44,7 @@ context('/demos/Nodes/CodeBlock', () => {
cy.get('.ProseMirror')
.type('{selectall}')
cy.get('.demo__preview button:first')
cy.get('button:first')
.click()
cy.get('.ProseMirror pre')