test: add new tests for multiple examples
Added tests for CSS modules, Custom Documents and the Default Editor example
This commit is contained in:
committed by
Dominik
parent
790aaeb915
commit
3d0074b294
@@ -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')
|
||||
|
||||
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user