Automattic / woocommerce-services

WooCommerce Services is a feature plugin that integrates hosted services into WooCommerce (3.0+), and currently includes automated tax rates and the ability to purchase and print USPS shipping labels.
GNU General Public License v2.0
108 stars 20 forks source link

Fix failing e2e tests #2702

Closed samnajian closed 1 year ago

samnajian commented 1 year ago

Description

This PR fixes the issue with activating/deactivating e2e test and makes the WP version used for CI e2e and the local e2e tests the identical to make it more transparent which version is used.

The issue was that we've flagged the plugin compatible with WP6.2+, whereas the e2e was randomly sometimes installing v6.1 and failing to upgrade it, which resulted in WP completely disabling the activation of the plugin.

Can-activate-WooCommerce-Shipping-Tax-extension-if-it-is-deactivated

samnajian commented 1 year ago

Now the wc/v1/connect/normalize-address endpoint throws, which is causing the test to fail.