Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/cypress test grouping #3283

Merged
merged 14 commits into from
Jan 27, 2023
Prev Previous commit
Next Next commit
fix instant results test
  • Loading branch information
burhandodhy committed Dec 22, 2022
commit 9a912921fb1d27ee00bd0fa6b8052afb740e7450
2 changes: 2 additions & 0 deletions tests/cypress/integration/features/instant-results.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,9 @@ describe('Instant Results Feature', { tags: '@slow' }, () => {
/**
* Update the post and visit the front end.
*/
cy.intercept('/wp-json/wp/v2/posts/*').as('postSave');
cy.get('.editor-post-publish-button__button').click();
cy.wait('@postSave');
cy.get('.components-snackbar__action').click();

/**
Expand Down