Skip to content

Commit

Permalink
Merge pull request #20 from newfold-labs/update/tests-again
Browse files Browse the repository at this point in the history
Update test again
  • Loading branch information
circlecube authored Feb 8, 2024
2 parents fea65e7 + 95be959 commit f8ac381
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/cypress/integration/notifications.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ describe( 'Notifications', () => {

before( () => {
cy.exec( 'npx wp-env run cli wp transient delete newfold_notifications' );
cy.visit( '/wp-admin/index.php' );
cy.intercept(
{
method: 'GET',
Expand All @@ -83,6 +84,8 @@ describe( 'Notifications', () => {
'/wp-admin/admin.php?page=' + Cypress.env( 'pluginId' ) + '#/home',
{ timeout: 30000 }
);

cy.wait( '@notifications' );
} );

it( 'Is Accessible', () => {
Expand Down

0 comments on commit f8ac381

Please sign in to comment.