From cc0695feb6af4b6f72e107b7513ad541882a2b30 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20Ku=CC=88hn?= Date: Fri, 11 Sep 2020 18:45:16 +0200 Subject: [PATCH] formatting --- docs/src/demos/Examples/MarkdownShortcuts/index.spec.js | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/docs/src/demos/Examples/MarkdownShortcuts/index.spec.js b/docs/src/demos/Examples/MarkdownShortcuts/index.spec.js index 2f5c1204..be8c2ed0 100644 --- a/docs/src/demos/Examples/MarkdownShortcuts/index.spec.js +++ b/docs/src/demos/Examples/MarkdownShortcuts/index.spec.js @@ -5,6 +5,7 @@ context('/examples/markdown-shortcuts', () => { beforeEach(() => { cy.get('.ProseMirror').then(([{ editor }]) => { + editor.focus() editor.clearContent() }) }) @@ -77,13 +78,13 @@ context('/examples/markdown-shortcuts', () => { it.skip('should create a ordered list', () => { cy.get('.ProseMirror') - .type('1. foobar', { force: true }) - .contains('ol', 'foobar') + .type('1. foobar', { force: true }) + .contains('ol', 'foobar') }) it.skip('should create a blockquote', () => { cy.get('.ProseMirror') - .type('> foobar', { force: true }) - .contains('blockquote', 'foobar') + .type('> foobar', { force: true }) + .contains('blockquote', 'foobar') }) }) \ No newline at end of file