From 44865a2ea75e04b94d0b145eaef38bc4878e00a7 Mon Sep 17 00:00:00 2001 From: Hans Pagel Date: Thu, 5 Nov 2020 22:47:55 +0100 Subject: [PATCH] clean up the tests --- docs/src/demos/Extensions/Typography/index.spec.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/docs/src/demos/Extensions/Typography/index.spec.js b/docs/src/demos/Extensions/Typography/index.spec.js index a5431526..9fbcc41d 100644 --- a/docs/src/demos/Extensions/Typography/index.spec.js +++ b/docs/src/demos/Extensions/Typography/index.spec.js @@ -12,42 +12,36 @@ context('/api/extensions/typography', () => { it('should make an em dash from two dashes', () => { cy.get('.ProseMirror') .type('-- emDash') - .find('p') .should('contain', '— emDash') }) it('should make an ellipsis from three dots', () => { cy.get('.ProseMirror') .type('... ellipsis') - .find('p') .should('contain', '… ellipsis') }) it('should make an correct open double quote', () => { cy.get('.ProseMirror') .type('"openDoubleQuote"') - .find('p') .should('contain', '“openDoubleQuote') }) it('should make an correct close double quote', () => { cy.get('.ProseMirror') .type('"closeDoubleQuote"') - .find('p') .should('contain', 'closeDoubleQuote”') }) it('should make an correct open single quote', () => { cy.get('.ProseMirror') .type("'openSingleQuote'") - .find('p') .should('contain', '‘openSingleQuote’') }) it('should make an correct close single quote', () => { cy.get('.ProseMirror') .type("'closeSingleQuote'") - .find('p') .should('contain', 'closeSingleQuote’') }) })