Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WordPress 5.8 is too old for WooCommerce 7.3 #34

Open
5 tasks done
BrianHenryIE opened this issue Jan 16, 2023 · 0 comments
Open
5 tasks done

WordPress 5.8 is too old for WooCommerce 7.3 #34

BrianHenryIE opened this issue Jan 16, 2023 · 0 comments

Comments

@BrianHenryIE
Copy link

BrianHenryIE commented Jan 16, 2023

Prerequisites

  • I have carried out troubleshooting steps and I believe I have found a bug.
  • I have searched for similar bugs in both open and closed issues and cannot find a duplicate.

Describe the bug

Following the instructions in the README results in a looping in terminal of:

Waiting for testing environment

and in the Docker logs of:

Warning: The package could not be installed. "Your WordPress version is 5.8, however the uploaded plugin requires 5.9."
Warning: The 'woocommerce' plugin could not be found.
Error: No plugins installed.

The WordPress version is defined in node_modules/@woocommerce/e2e-environment/bin/docker-compose.sh.

Solved by editing package.json to "docker:up": "WP_VERSION=6.1 npx wc-e2e docker:up",

Questions/Requests:

@woocommerce/e2e-environment hasn't been updated in almost a year. Is there a way to use @master instead of ^0.3.0? I see woocommerce/woocommerce's .nvmrc is at v16 compared to this repo's v12 so I presume as I learn from the tests in WooCommerce itself they might not work in my project using the older version.

WordPress Environment

No response

Isolating the problem

  • I have deactivated other plugins and confirmed this bug occurs when only WooCommerce plugin is active.
  • This bug happens with a default WordPress theme active, or Storefront.
  • I can reproduce this bug consistently using the steps above.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant