Categories
Core Quality

Developer Advisory: Compatibility Issue with E2E Environment and WordPress 5.7

tl;dr

The built in testing container/server in the @woocommerce/e2e-environment package does not initialize properly with WordPress 5.7. We plan to release an update to the package next week that will include a fix for this issue.

The details

After each WordPress release, the Docker-WordPress project releases companion images providing docker-compose support for that version of WordPress. The e2e-environment container does not initialize properly due to changes in the default docker-compose configuration between WordPress 5.6 and 5.7.

How can I tell this affects me?

This issue will affect you if:

  • You initialize your test environment (docker:up) using the default latest software versions
  • You specify using WordPress 5.7 with WP_VERSION=5.7

What action should I take?

In your continuous integration (CI) environment, pin your WordPress version with an environment variable WP_VERSION=5.6.2.

Do the same in your local development environment with WP_VERSION=5.6.2 npx wc-e2e docker:up.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.