From ca21f69da13a53f054b56de87301d179ccc4c7ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20Ku=CC=88hn?= Date: Wed, 4 Mar 2020 10:35:30 +0100 Subject: [PATCH] refactoring --- cypress/integration/basic.spec.js | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/cypress/integration/basic.spec.js b/cypress/integration/basic.spec.js index 9922a830..1d2b391c 100644 --- a/cypress/integration/basic.spec.js +++ b/cypress/integration/basic.spec.js @@ -37,7 +37,7 @@ context('basic', () => { }) describe('insertText', () => { - it('should prepend text', () => { + it('should prepend', () => { cy.get('.ProseMirror').window().then(window => { const { editor } = window @@ -46,7 +46,7 @@ context('basic', () => { }) }) - it('should append text', () => { + it('should append', () => { cy.get('.ProseMirror').window().then(window => { const { editor } = window @@ -54,8 +54,10 @@ context('basic', () => { cy.get('.ProseMirror p:first').should('contain', 'foobar') }) }) + }) - it('should prepend html', () => { + describe('insertHTML', () => { + it('should prepend', () => { cy.get('.ProseMirror').window().then(window => { const { editor } = window @@ -65,7 +67,7 @@ context('basic', () => { }) }) - it('should append html', () => { + it('should append', () => { cy.get('.ProseMirror').window().then(window => { const { editor } = window