Skip to content

Commit

Permalink
Try to inspect the element
Browse files Browse the repository at this point in the history
  • Loading branch information
felipeelia committed Aug 8, 2024
1 parent f86e636 commit 05bd1f3
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion tests/cypress/integration/features/woocommerce.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -183,8 +183,14 @@ describe('WooCommerce Feature', { tags: '@slow' }, () => {
if (wcVersion === '6.4.0') {
cy.get('#place_order').click();
} else {
cy.get('.wc-block-components-checkout-place-order-button').then(($el) => {
cy.log($el[0].outerHTML);
});
cy.get('.wc-block-components-checkout-place-order-button').click();
cy.get('.wc-block-components-checkout-place-order-button').then(($el) => {
cy.log($el[0].outerHTML);
});
cy.get('.wc-block-components-checkout-place-order-button').click();
cy.get('.wc-block-checkout__billing-fields').scrollIntoView();
// eslint-disable-next-line cypress/no-unnecessary-waiting
cy.wait(5000);
}
Expand Down

0 comments on commit 05bd1f3

Please sign in to comment.