Skip to content

Commit

Permalink
de-activate woo plugin if at all it is active.
Browse files Browse the repository at this point in the history
  • Loading branch information
sangeetha-nayak committed Jul 5, 2024
1 parent d25d8f2 commit 8e87894
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/cypress/integration/Store/storePage.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ describe(
() => {
before( () => {
wpLogin();
uninstallPlugins();
cy.exec( `npx wp-env run cli wp plugin deactivate woocommerce`,
{ failOnNonZeroExit: false });
cy.visit( '/wp-admin/admin.php?page=' + pluginId + '#/store' );
} );

Expand Down

0 comments on commit 8e87894

Please sign in to comment.