woocommerce / qit-cli

A Testing Platform for WordPress Plugins and Themes
https://qit.woo.com
14 stars 2 forks source link

Cannot provide WP & WC versions as suggested in the docs #81

Closed tomalec closed 10 months ago

tomalec commented 11 months ago

I was trying to use QIT CLI to test specific versions of WordPress or WooCommerce. I tried to use the exact command and versions from the docs:

qit run:activation google-listings-and-ads --woocommerce_version=7.0.0-rc.2 --wordpress_version=6.0.1

It throws 400:

$ qit run:activation google-listings-and-ads --woocommerce_version=7.0.0-rc.2 --wordpress_version=6.0.1
Expected return status code(s): 200. Got return status code: 400. Error message: Invalid parameter(s): wordpress_version, woocommerce_version
$ qit --version
Quality Insights Toolkit CLI 0.3.4-2-g16c3ce1a
Luc45 commented 11 months ago

Howdy, we support the last 4 stables and latest release-candidate of WooCommerce.

You can run qit run:activation --help to see the available versions. For scripts, it's preferred to use either stable or rc as version, as they are fixed. Use the specific version only when running manually, eg: --woocommerce_version=8.0.0, etc

image

Luc45 commented 10 months ago

I've update the docs to reflect that, thanks, @tomalec !