fix tests

This commit is contained in:
Philipp Kühn
2021-04-11 21:59:06 +02:00
parent cdf977a547
commit 8090bc63c1

View File

@@ -126,7 +126,7 @@ context('/demos/Nodes/CodeBlock', () => {
}) })
}) })
it.only('reverts the markdown shortcut when pressing backspace', () => { it('reverts the markdown shortcut when pressing backspace', () => {
cy.get('.ProseMirror').then(([{ editor }]) => { cy.get('.ProseMirror').then(([{ editor }]) => {
editor.commands.clearContent() editor.commands.clearContent()
@@ -138,7 +138,7 @@ context('/demos/Nodes/CodeBlock', () => {
}) })
}) })
it.only('removes the code block when pressing backspace', () => { it('removes the code block when pressing backspace', () => {
cy.get('.ProseMirror').then(([{ editor }]) => { cy.get('.ProseMirror').then(([{ editor }]) => {
editor.commands.clearContent() editor.commands.clearContent()
@@ -153,7 +153,7 @@ context('/demos/Nodes/CodeBlock', () => {
}) })
}) })
it.only('removes the code block when pressing backspace, even with blank lines', () => { it('removes the code block when pressing backspace, even with blank lines', () => {
cy.get('.ProseMirror').then(([{ editor }]) => { cy.get('.ProseMirror').then(([{ editor }]) => {
editor.commands.clearContent() editor.commands.clearContent()
@@ -168,7 +168,7 @@ context('/demos/Nodes/CodeBlock', () => {
}) })
}) })
it.only('removes the code block when pressing backspace, even at start of document', () => { it('removes the code block when pressing backspace, even at start of document', () => {
cy.get('.ProseMirror').then(([{ editor }]) => { cy.get('.ProseMirror').then(([{ editor }]) => {
editor.commands.clearContent() editor.commands.clearContent()