woocommerce / google-listings-and-ads

Sync your store with Google to list products for free, run paid ads, and track performance straight from your store dashboard.
https://woo.com/products/google-listings-and-ads/
GNU General Public License v3.0
44 stars 21 forks source link

E2E test failed with WC 9.1-rc.1 #2453

Closed ianlin closed 1 month ago

ianlin commented 1 month ago

Describe the bug:

When doing the compatibility test with WooCommerce 9.1.0-rc.1 and WP 6.6-RC2, the E2E test failed.

https://github.com/woocommerce/google-listings-and-ads/actions/runs/9802502421/job/27068043089

Tried to clarify which caused the fail by running E2E test locally, and confirmed it's WC 9.1.0-rc.1 lead to the failure.

Steps to reproduce:

  1. Set up E2E test
  2. Upgrade WP to 6.6-RC2
    npm run -- wp-env run tests-cli -- wp core update --version=6.6-RC2
    npm run -- wp-env run tests-cli -- wp core update-db
  3. Upgrade WC to 9.1.0-rc.1
    npm run -- wp-env run tests-cli -- wp plugin update woocommerce --version=9.1.0-rc.1
    npm run -- wp-env run tests-cli -- wp wc update
  4. Run E2E test: npm run test:e2e
  5. See the E2E test failed
  6. Downgrade WC to the latest 9.0.2
    npm run -- wp-env run tests-cli -- wp plugin update woocommerce --version=9.0.2
    npm run -- wp-env run tests-cli -- wp wc update
  7. Run E2E test: npm run test:e2e
  8. See the E2E test passed

Expected behavior:

The E2E test should passed.

Actual behavior:

The E2E test failed.

Additional details: