From 1c08f080fd5887b0c4989dfe13e67e416edf066f Mon Sep 17 00:00:00 2001 From: nileshgulia1 Date: Tue, 29 Aug 2023 21:45:16 +0530 Subject: [PATCH] fix: cypress tests for group block --- cypress/e2e/01-block-group.cy.js | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/cypress/e2e/01-block-group.cy.js b/cypress/e2e/01-block-group.cy.js index 7b578c97..ed117d56 100644 --- a/cypress/e2e/01-block-group.cy.js +++ b/cypress/e2e/01-block-group.cy.js @@ -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');