From 45ce37c8371b503fdc9ed51e5741a3ad77d4774f Mon Sep 17 00:00:00 2001 From: wpalani Date: Fri, 8 Nov 2024 11:33:05 -0700 Subject: [PATCH] Attempt to fix tests --- tests/cypress/integration/coming-soon-woo.cy.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/cypress/integration/coming-soon-woo.cy.js b/tests/cypress/integration/coming-soon-woo.cy.js index 948789a..da56c8b 100644 --- a/tests/cypress/integration/coming-soon-woo.cy.js +++ b/tests/cypress/integration/coming-soon-woo.cy.js @@ -11,9 +11,6 @@ describe( 'Coming Soon with WooCommerce', function () { timeout: 40000, log: true, } ); - - // reload the page - cy.reload(); } ); after( () => { @@ -24,6 +21,9 @@ describe( 'Coming Soon with WooCommerce', function () { } ); it( 'Replace our admin bar site status badge with WooCommerce\'s when active', () => { + // reload the page + cy.reload(); + // Visit settings page cy.visit( '/wp-admin/admin.php?page=' +