Skip to content

Commit

Permalink
Merge pull request #8 from newfold-labs/update/test-to-activate-after
Browse files Browse the repository at this point in the history
Force plugin reactivation after tests
  • Loading branch information
circlecube authored Feb 8, 2024
2 parents e88fb69 + 83513f2 commit 6706a53
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/cypress/integration/deactivation-survey.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -130,3 +130,7 @@ describe( 'Plugin Deactivation Survey', () => {
cy.wait( 500 );
} );
} );

after(()=>{
cy.exec( `npx wp-env run cli wp plugin activate ${ Cypress.env( 'pluginSlug' ) }` );
});

0 comments on commit 6706a53

Please sign in to comment.