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.
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.
This issue will affect you if:
- You initialize your test environment (
docker:up) using the default
- You specify using WordPress 5.7 with
In your continuous integration (CI) environment, pin your WordPress version with an environment variable
Do the same in your local development environment with
WP_VERSION=5.6.2 npx wc-e2e docker:up.