remove focus from tests

This commit is contained in:
Philipp Kühn 2020-09-14 23:39:27 +02:00
parent 72cee1966d
commit 61ca7d4377
12 changed files with 0 additions and 12 deletions

View File

@ -5,7 +5,6 @@ context('/examples/markdown-shortcuts', () => {
beforeEach(() => {
cy.get('.ProseMirror').then(([{ editor }]) => {
editor.focus()
editor.clearContent()
})
})

View File

@ -6,7 +6,6 @@ context('/api/extensions/blockquote', () => {
beforeEach(() => {
cy.get('.ProseMirror').then(([{ editor }]) => {
editor.setContent('<p>Example Text</p>')
editor.focus()
editor.selectAll()
})
})

View File

@ -6,7 +6,6 @@ context('/api/extensions/bold', () => {
beforeEach(() => {
cy.get('.ProseMirror').then(([{ editor }]) => {
editor.setContent('<p>Example Text</p>')
editor.focus()
editor.selectAll()
})
})

View File

@ -6,7 +6,6 @@ context('/api/extensions/code', () => {
beforeEach(() => {
cy.get('.ProseMirror').then(([{ editor }]) => {
editor.setContent('<p>Example Text</p>')
editor.focus()
editor.selectAll()
})
})

View File

@ -6,7 +6,6 @@ context('/api/extensions/code-block', () => {
beforeEach(() => {
cy.get('.ProseMirror').then(([{ editor }]) => {
editor.setContent('<p>Example Text</p>')
editor.focus()
editor.selectAll()
})
})

View File

@ -5,7 +5,6 @@ context('/api/extensions/hard-break', () => {
beforeEach(() => {
cy.get('.ProseMirror').then(([{ editor }]) => {
editor.focus()
editor.setContent('<p>Example Text</p>')
})
})

View File

@ -6,7 +6,6 @@ context('/api/extensions/heading', () => {
beforeEach(() => {
cy.get('.ProseMirror').then(([{ editor }]) => {
editor.setContent('<p>Example Text</p>')
editor.focus()
editor.selectAll()
})
})

View File

@ -5,7 +5,6 @@ context('/api/extensions/history', () => {
beforeEach(() => {
cy.get('.ProseMirror').then(([{ editor }]) => {
editor.focus()
editor.setContent('<p>Mistake</p>')
})
})

View File

@ -6,7 +6,6 @@ context('/api/extensions/italic', () => {
beforeEach(() => {
cy.get('.ProseMirror').then(([{ editor }]) => {
editor.setContent('<p>Example Text</p>')
editor.focus()
editor.selectAll()
})
})

View File

@ -5,7 +5,6 @@ context('/api/extensions/paragraph', () => {
beforeEach(() => {
cy.get('.ProseMirror').then(([{ editor }]) => {
editor.focus()
editor.clearContent()
})
})

View File

@ -6,7 +6,6 @@ context('/api/extensions/strike', () => {
beforeEach(() => {
cy.get('.ProseMirror').then(([{ editor }]) => {
editor.setContent('<p>Example Text</p>')
editor.focus()
editor.selectAll()
})
})

View File

@ -6,7 +6,6 @@ context('/api/extensions/underline', () => {
beforeEach(() => {
cy.get('.ProseMirror').then(([{ editor }]) => {
editor.setContent('<p>Example Text</p>')
editor.focus()
editor.selectAll()
})
})