mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-15 07:34:42 -04:00
Add extra test suite for emojis (#1322)
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
This commit is contained in:
parent
f4e5d795e6
commit
4b3990d0db
2 changed files with 33 additions and 10 deletions
|
@ -93,8 +93,6 @@ describe('Autocompletion', () => {
|
|||
.should('not.exist')
|
||||
cy.get('.CodeMirror-activeline > .CodeMirror-line > span')
|
||||
.should('have.text', ':hedgehog:')
|
||||
cy.getMarkdownBody()
|
||||
.should('have.text', '🦔')
|
||||
})
|
||||
it('via doubleclick', () => {
|
||||
cy.codemirrorFill(':hedg')
|
||||
|
@ -105,8 +103,6 @@ describe('Autocompletion', () => {
|
|||
.should('not.exist')
|
||||
cy.get('.CodeMirror-activeline > .CodeMirror-line > span')
|
||||
.should('have.text', ':hedgehog:')
|
||||
cy.getMarkdownBody()
|
||||
.should('have.text', '🦔')
|
||||
})
|
||||
})
|
||||
|
||||
|
@ -121,9 +117,6 @@ describe('Autocompletion', () => {
|
|||
.should('not.exist')
|
||||
cy.get('.CodeMirror-activeline > .CodeMirror-line > span')
|
||||
.should('have.text', ':fa-facebook:')
|
||||
cy.getMarkdownBody()
|
||||
.find('p > i.fa.fa-facebook')
|
||||
.should('exist')
|
||||
})
|
||||
it('via doubleclick', () => {
|
||||
cy.codemirrorFill(':fa-face')
|
||||
|
@ -134,9 +127,6 @@ describe('Autocompletion', () => {
|
|||
.should('not.exist')
|
||||
cy.get('.CodeMirror-activeline > .CodeMirror-line > span')
|
||||
.should('have.text', ':fa-facebook:')
|
||||
cy.getMarkdownBody()
|
||||
.find('p > i.fa.fa-facebook')
|
||||
.should('exist')
|
||||
})
|
||||
})
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue