test(examples): add tests for more example pages

This commit is contained in:
Dominik Biedebach
2022-05-11 17:46:30 +02:00
committed by Dominik
parent 0532770170
commit b7f95d638d
15 changed files with 701 additions and 10 deletions

View File

@@ -9,11 +9,10 @@ context('/src/Examples/Menus/React/', () => {
})
})
// TODO: fix test
// it('should show menu when the editor is empty', () => {
// cy.get('#app')
// .find('[data-tippy-root]')
// })
it('should show menu when the editor is empty', () => {
cy.get('#app')
.find('[data-tippy-root]')
})
it('should show menu when text is selected', () => {
cy.get('.ProseMirror')