mirror of
https://github.com/ueberdosis/tiptap.git
synced 2025-01-18 14:13:21 +08:00
remove focus from tests
This commit is contained in:
parent
72cee1966d
commit
61ca7d4377
@ -5,7 +5,6 @@ context('/examples/markdown-shortcuts', () => {
|
||||
|
||||
beforeEach(() => {
|
||||
cy.get('.ProseMirror').then(([{ editor }]) => {
|
||||
editor.focus()
|
||||
editor.clearContent()
|
||||
})
|
||||
})
|
||||
|
@ -6,7 +6,6 @@ context('/api/extensions/blockquote', () => {
|
||||
beforeEach(() => {
|
||||
cy.get('.ProseMirror').then(([{ editor }]) => {
|
||||
editor.setContent('<p>Example Text</p>')
|
||||
editor.focus()
|
||||
editor.selectAll()
|
||||
})
|
||||
})
|
||||
|
@ -6,7 +6,6 @@ context('/api/extensions/bold', () => {
|
||||
beforeEach(() => {
|
||||
cy.get('.ProseMirror').then(([{ editor }]) => {
|
||||
editor.setContent('<p>Example Text</p>')
|
||||
editor.focus()
|
||||
editor.selectAll()
|
||||
})
|
||||
})
|
||||
|
@ -6,7 +6,6 @@ context('/api/extensions/code', () => {
|
||||
beforeEach(() => {
|
||||
cy.get('.ProseMirror').then(([{ editor }]) => {
|
||||
editor.setContent('<p>Example Text</p>')
|
||||
editor.focus()
|
||||
editor.selectAll()
|
||||
})
|
||||
})
|
||||
|
@ -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()
|
||||
})
|
||||
})
|
||||
|
@ -5,7 +5,6 @@ context('/api/extensions/hard-break', () => {
|
||||
|
||||
beforeEach(() => {
|
||||
cy.get('.ProseMirror').then(([{ editor }]) => {
|
||||
editor.focus()
|
||||
editor.setContent('<p>Example Text</p>')
|
||||
})
|
||||
})
|
||||
|
@ -6,7 +6,6 @@ context('/api/extensions/heading', () => {
|
||||
beforeEach(() => {
|
||||
cy.get('.ProseMirror').then(([{ editor }]) => {
|
||||
editor.setContent('<p>Example Text</p>')
|
||||
editor.focus()
|
||||
editor.selectAll()
|
||||
})
|
||||
})
|
||||
|
@ -5,7 +5,6 @@ context('/api/extensions/history', () => {
|
||||
|
||||
beforeEach(() => {
|
||||
cy.get('.ProseMirror').then(([{ editor }]) => {
|
||||
editor.focus()
|
||||
editor.setContent('<p>Mistake</p>')
|
||||
})
|
||||
})
|
||||
|
@ -6,7 +6,6 @@ context('/api/extensions/italic', () => {
|
||||
beforeEach(() => {
|
||||
cy.get('.ProseMirror').then(([{ editor }]) => {
|
||||
editor.setContent('<p>Example Text</p>')
|
||||
editor.focus()
|
||||
editor.selectAll()
|
||||
})
|
||||
})
|
||||
|
@ -5,7 +5,6 @@ context('/api/extensions/paragraph', () => {
|
||||
|
||||
beforeEach(() => {
|
||||
cy.get('.ProseMirror').then(([{ editor }]) => {
|
||||
editor.focus()
|
||||
editor.clearContent()
|
||||
})
|
||||
})
|
||||
|
@ -6,7 +6,6 @@ context('/api/extensions/strike', () => {
|
||||
beforeEach(() => {
|
||||
cy.get('.ProseMirror').then(([{ editor }]) => {
|
||||
editor.setContent('<p>Example Text</p>')
|
||||
editor.focus()
|
||||
editor.selectAll()
|
||||
})
|
||||
})
|
||||
|
@ -6,7 +6,6 @@ context('/api/extensions/underline', () => {
|
||||
beforeEach(() => {
|
||||
cy.get('.ProseMirror').then(([{ editor }]) => {
|
||||
editor.setContent('<p>Example Text</p>')
|
||||
editor.focus()
|
||||
editor.selectAll()
|
||||
})
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user