add code extension demo with tests
This commit is contained in:
@@ -13,9 +13,6 @@ context('/api/extensions/italic', () => {
|
||||
it('should make the selected text italic', () => {
|
||||
cy.get('.demo__preview button:first').click({ force: true })
|
||||
cy.get('.ProseMirror').contains('em', 'Example Text')
|
||||
|
||||
cy.get('.demo__preview button:first').click({ force: true })
|
||||
cy.get('.ProseMirror em').should('not.exist')
|
||||
})
|
||||
|
||||
it('should toggle the selected text italic', () => {
|
||||
|
||||
Reference in New Issue
Block a user