test: add new tests for multiple examples

Added tests for CSS modules, Custom Documents and the Default Editor example
This commit is contained in:
Dominik Biedebach
2022-05-11 11:44:14 +02:00
committed by Dominik
parent 790aaeb915
commit 3d0074b294
15 changed files with 538 additions and 20 deletions

View File

@@ -5,7 +5,7 @@ context('/src/Examples/Community/React/', () => {
it('should count the characters correctly', () => {
// check if count text is "44/280 characters"
cy.get('.character-count__text', { timeout: 25000 }).should('have.text', '44/280 characters')
cy.get('.character-count__text').should('have.text', '44/280 characters')
// type in .ProseMirror
cy.get('.ProseMirror').type(' Hello World')

View File

@@ -5,7 +5,7 @@ context('/src/Examples/Community/Vue/', () => {
it('should count the characters correctly', () => {
// check if count text is "44/280 characters"
cy.get('.character-count__text', { timeout: 25000 }).should('have.text', '44/280 characters')
cy.get('.character-count__text').should('have.text', '44/280 characters')
// type in .ProseMirror
cy.get('.ProseMirror').type(' Hello World')