fix broken test

This commit is contained in:
Hans Pagel
2020-09-11 17:44:28 +02:00
parent dc83868b53
commit 464d3665db

View File

@@ -33,9 +33,9 @@ context('/api/extensions/bold', () => {
.contains('strong', 'Example Text') .contains('strong', 'Example Text')
cy.get('.ProseMirror') cy.get('.ProseMirror')
.type('{selectall}', { force: true })
.type('{meta}b', { force: true }) .type('{meta}b', { force: true })
.should('not.exist')
cy.get('.ProseMirror strong').should('not.exist')
}) })
it('should make a bold text from the default markdown shortcut', () => { it('should make a bold text from the default markdown shortcut', () => {