diff --git a/tests/cypress/integration/features/woocommerce.cy.js b/tests/cypress/integration/features/woocommerce.cy.js index 94d1968ef..2c7587545 100644 --- a/tests/cypress/integration/features/woocommerce.cy.js +++ b/tests/cypress/integration/features/woocommerce.cy.js @@ -183,7 +183,9 @@ describe('WooCommerce Feature', { tags: '@slow' }, () => { if (wcVersion === '6.4.0') { cy.get('#place_order').click(); } else { + cy.intercept('/wp-json/wc/store/v1/checkout*').as('apiRequest'); cy.get('.wc-block-components-checkout-place-order-button').click(); + cy.wait('@apiRequest'); } });