From 2cb73f1d90e28d7ff11a77d9bd377fa836d31165 Mon Sep 17 00:00:00 2001 From: Evan Mullins Date: Wed, 11 Dec 2024 16:26:12 -0500 Subject: [PATCH] just uninstall plugins we have installed in the test added bonus: we wont have to maintain a long exclude list --- tests/cypress/integration/coming-soon-woo.cy.js | 2 +- tests/cypress/integration/coming-soon.cy.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/cypress/integration/coming-soon-woo.cy.js b/tests/cypress/integration/coming-soon-woo.cy.js index 531c4ea..06d24d3 100644 --- a/tests/cypress/integration/coming-soon-woo.cy.js +++ b/tests/cypress/integration/coming-soon-woo.cy.js @@ -21,7 +21,7 @@ describe( 'Coming Soon with WooCommerce', { testIsolation: true }, () => { after( () => { // Uninstall WooCommerce and extensions wpCli( - 'plugin uninstall --all --deactivate --exclude=bluehost-wordpress-plugin,wp-plugin-hostgator,wp-plugin-crazy-domains,wp-plugin-web,wp-plugin-mojo,wpforms-lite', + 'plugin uninstall woocommerce yith-stripe-payments-for-woocommerce-extended yith-paypal-payments-for-woocommerce-extended --deactivate', { timeout: 60000, log: true, diff --git a/tests/cypress/integration/coming-soon.cy.js b/tests/cypress/integration/coming-soon.cy.js index 8a1cdb6..a8b35b9 100644 --- a/tests/cypress/integration/coming-soon.cy.js +++ b/tests/cypress/integration/coming-soon.cy.js @@ -154,7 +154,7 @@ describe( 'Coming Soon', { testIsolation: true }, () => { // this test is already in the ecommerce module, and the code is in the ecommerce module // once the component is moved into this module this test will be used and the ecom test removed - it( 'Launching launches site', () => { + it.skip( 'Launching launches site', () => { cy.visit( '/wp-admin/admin.php?page=' + Cypress.env( 'pluginId' ) +