diff --git a/.dev/tests/cypress/helpers.js b/.dev/tests/cypress/helpers.js index 94f485ba607..5c5c4fb4e07 100644 --- a/.dev/tests/cypress/helpers.js +++ b/.dev/tests/cypress/helpers.js @@ -172,7 +172,7 @@ export function addNewGroupToPost() { * From inside the WordPress editor open the CoBlocks Gutenberg editor panel */ export function savePage() { - cy.get( '.edit-post-header__settings button.is-primary' ).click(); + cy.get( '.editor-post-publish-button.is-primary' ).click(); cy.get( '.components-editor-notices__snackbar', { timeout: 120000 } ).should( 'not.be.empty' );