Skip to content

Commit

Permalink
Fix selector of e2e helper savePage()
Browse files Browse the repository at this point in the history
  • Loading branch information
EvanHerman committed Jul 25, 2024
1 parent 5bd0e8f commit ecd84bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .dev/tests/cypress/helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -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' );

Expand Down

0 comments on commit ecd84bb

Please sign in to comment.