Skip to content

Commit

Permalink
fix: cypress tests for group block
Browse files Browse the repository at this point in the history
  • Loading branch information
nileshgulia1 committed Aug 29, 2023
1 parent 698592b commit 1c08f08
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions cypress/e2e/01-block-group.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,16 @@ describe('Blocks Tests', () => {
.contains('Section (Group)')
.click({ force: true });

cy.get('.block-editor-group [contenteditable=true]')
.focus()
cy.get('.block-editor-group .block-editor-slate')
.click()
.type('test{enter}');
cy.get('.block-editor-group [contenteditable=true]')
cy.get('.block-editor-group div[contenteditable*=true]')
.eq(1)
.focus()
.click()
.type('test2{enter}');
cy.get('.block-editor-group [contenteditable=true]')
.eq(2)
cy.get('.block-editor-group div[contenteditable*=true]')
.eq(1)
.focus()
.click()
.type('test3');
Expand Down

0 comments on commit 1c08f08

Please sign in to comment.