mirror of
https://github.com/ueberdosis/tiptap.git
synced 2025-01-18 14:13:21 +08:00
Readd skipped tests
Fix lint issue
This commit is contained in:
parent
a331d72383
commit
b3cf55d686
@ -58,7 +58,7 @@ context('/demos/Examples/MarkdownShortcuts/Vue', () => {
|
||||
.should('contain', '$foobar')
|
||||
})
|
||||
|
||||
it.skip('should create a code block without language', () => {
|
||||
it('should create a code block without language', () => {
|
||||
cy.get('.ProseMirror')
|
||||
.type('``` {enter}const foo = bar{enter}```')
|
||||
.find('pre')
|
||||
@ -86,14 +86,14 @@ context('/demos/Examples/MarkdownShortcuts/Vue', () => {
|
||||
.should('contain', 'foobar')
|
||||
})
|
||||
|
||||
it.skip('should create a ordered list', () => {
|
||||
it('should create a ordered list', () => {
|
||||
cy.get('.ProseMirror')
|
||||
.type('1. foobar')
|
||||
.find('ol')
|
||||
.should('contain', 'foobar')
|
||||
})
|
||||
|
||||
it.skip('should create a blockquote', () => {
|
||||
it('should create a blockquote', () => {
|
||||
cy.get('.ProseMirror')
|
||||
.type('> foobar')
|
||||
.find('blockquote')
|
||||
|
@ -19,8 +19,7 @@ context('/demos/Extensions/History', () => {
|
||||
|
||||
it('should make the last change undone with the keyboard shortcut', () => {
|
||||
cy.get('.ProseMirror')
|
||||
.trigger('keydown', {modKey: true, key: 'z' })
|
||||
|
||||
.trigger('keydown', { modKey: true, key: 'z' })
|
||||
|
||||
cy.get('.ProseMirror')
|
||||
.should('not.contain', 'Mistake')
|
||||
@ -31,7 +30,7 @@ context('/demos/Extensions/History', () => {
|
||||
.should('contain', 'Mistake')
|
||||
|
||||
cy.get('.ProseMirror')
|
||||
.trigger('keydown', {modKey: true, key: 'я' })
|
||||
.trigger('keydown', { modKey: true, key: 'я' })
|
||||
|
||||
cy.get('.ProseMirror')
|
||||
.should('not.contain', 'Mistake')
|
||||
@ -39,13 +38,13 @@ context('/demos/Extensions/History', () => {
|
||||
|
||||
it('should apply the last undone change again with the keyboard shortcut', () => {
|
||||
cy.get('.ProseMirror')
|
||||
.trigger('keydown', {modKey: true, key: 'z' })
|
||||
.trigger('keydown', { modKey: true, key: 'z' })
|
||||
|
||||
cy.get('.ProseMirror')
|
||||
.should('not.contain', 'Mistake')
|
||||
|
||||
cy.get('.ProseMirror')
|
||||
.trigger('keydown', {modKey: true, shiftKey: true, key: 'z' })
|
||||
.trigger('keydown', { modKey: true, shiftKey: true, key: 'z' })
|
||||
|
||||
cy.get('.ProseMirror')
|
||||
.should('contain', 'Mistake')
|
||||
@ -53,13 +52,13 @@ context('/demos/Extensions/History', () => {
|
||||
|
||||
it('should apply the last undone change again with the keyboard shortcut (russian)', () => {
|
||||
cy.get('.ProseMirror')
|
||||
.trigger('keydown', {modKey: true, key: 'я' })
|
||||
.trigger('keydown', { modKey: true, key: 'я' })
|
||||
|
||||
cy.get('.ProseMirror')
|
||||
.should('not.contain', 'Mistake')
|
||||
|
||||
cy.get('.ProseMirror')
|
||||
.trigger('keydown', {modKey: true, shiftKey: true, key: 'я' })
|
||||
.trigger('keydown', { modKey: true, shiftKey: true, key: 'я' })
|
||||
|
||||
cy.get('.ProseMirror')
|
||||
.should('contain', 'Mistake')
|
||||
|
@ -34,7 +34,7 @@ context('/demos/Nodes/HardBreak', () => {
|
||||
.should('exist')
|
||||
})
|
||||
|
||||
it.skip('the default keyboard shortcut should add a line break', () => {
|
||||
it('the default keyboard shortcut should add a line break', () => {
|
||||
cy.get('.ProseMirror br')
|
||||
.should('not.exist')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user