woocommerce / woocommerce-google-analytics-integration

WordPress plugin: Provides the integration between WooCommerce and Google Analytics.
http://wordpress.org/plugins/woocommerce-google-analytics-integration/
170 stars 69 forks source link

Make the value entering of the billing state field in e2e test compatible with WC < 9.2 #457

Closed eason9487 closed 1 month ago

eason9487 commented 1 month ago

Changes proposed in this Pull Request:

While performing the release in #456, the e2e test keep failing. Ref: #454

This PR make it compatible with WC < 9.2.

Checks:

Detailed test instructions:

  1. npm run wp-env:up
  2. npm run -- wp-env run tests-cli -- wp plugin update woocommerce --version=9.1.4 && npm run -- wp-env run tests-cli -- wp wc update
  3. npm run test:e2e
  4. Confirm tests pass
  5. npm run -- wp-env run tests-cli -- wp plugin update woocommerce --version=9.2.0-rc.1 && npm run -- wp-env run tests-cli -- wp wc update
  6. npm run test:e2e
  7. Confirm tests pass

Changelog entry

eason9487 commented 1 month ago

Ran e2e test with WooCommerce 9.1.4 and 9.2.0-rc.1 via GitHub actions:

I will be merging this PR without code reviews.