Skip to content

Commit

Permalink
Update WooCommerce selector
Browse files Browse the repository at this point in the history
  • Loading branch information
felipeelia committed Aug 8, 2024
1 parent 0621453 commit 53e9f47
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/cypress/integration/features/woocommerce.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,10 @@ describe('WooCommerce Feature', { tags: '@slow' }, () => {
// enable payment gateway.
cy.visitAdminPage('admin.php?page=wc-settings&tab=checkout&section=cod');
cy.get('#woocommerce_cod_enabled').check();
cy.get('.button-primary.woocommerce-save-button').click();
cy.get(
`.button-primary.woocommerce-save-button,
.components-button.is-primary.woocommerce-save-button`,
).click();

cy.logout();

Expand Down

0 comments on commit 53e9f47

Please sign in to comment.