Updated Release Testing Instructions WooCommerce 5.3 (markdown)

Tam Mullen 2021-04-20 17:13:05 +01:00
parent 48629b51a9
commit ebcae5f33f
1 changed files with 11 additions and 2 deletions

@ -16,6 +16,7 @@ WooCommerce 5.3 includes:
- [Remove duplicate notices from cart](https://github.com/woocommerce/woocommerce/wiki/Release-Testing-Instructions-WooCommerce-5.3#remove-duplicate-notices-from-cart)
- [Use AJAX for Page Configuration](https://github.com/woocommerce/woocommerce/wiki/Release-Testing-Instructions-WooCommerce-5.3#use-ajax-for-page-configuration)
- [Update the tax rate meta when recalculating and updating order tax items](https://github.com/woocommerce/woocommerce/wiki/Release-Testing-Instructions-WooCommerce-5.3#update-the-tax-rate-meta-when-recalculating-and-updating-order-tax-items)
- [Update UID only for WooCommerce cookies]()
- [Added parameter to function wc_downloadable_file_permission and filter hook woocommerce_downloadable_file_permission](https://github.com/woocommerce/woocommerce/wiki/Release-Testing-Instructions-WooCommerce-5.3#added-parameter-to-function-wc_downloadable_file_permission-and-filter-hook-woocommerce_downloadable_file_permission)
- [WooCommerce API Updates](https://github.com/woocommerce/woocommerce/wiki/Release-Testing-Instructions-WooCommerce-5.2#woocommerce-api-updates)
- [Fix taxes endpoint not returning multiple postcodes/cities](https://github.com/woocommerce/woocommerce/wiki/Release-Testing-Instructions-WooCommerce-5.3#fix-taxes-endpoint-not-returning-multiple-postcodescities)
@ -149,6 +150,14 @@ PR: https://github.com/woocommerce/woocommerce/pull/27985
1. Change the tax rate to 5%. https://d.pr/i/wPvs98
1. Recalculate the order totals using the recalculate button in the edit order line item metabox. The tax amount is recalculated correctly. https://d.pr/i/aF0Ypt
#### Update UID only for WooCommerce cookies
PR: https://github.com/woocommerce/woocommerce/pull/29542
1. As a logged out shopper add some products to cart.
2. Log in as a shopper with an account
3. Check cart contents was maintained after logging in.
#### Added parameter to function wc_downloadable_file_permission and filter hook woocommerce_downloadable_file_permission
PR: https://github.com/woocommerce/woocommerce/pull/23188
@ -157,6 +166,8 @@ PR: https://github.com/woocommerce/woocommerce/pull/23188
1. Open the order details in the admin area, and revoke access to the download for the user ("Revoke access" button in the "Downloadable product permissions" box)
1. Try to grant access to the same product again and the permission is successfully granted.
***
## WooCommerce API Updates:
@ -166,8 +177,6 @@ PR: https://github.com/woocommerce/woocommerce/pull/23188
PR: https://github.com/woocommerce/woocommerce/pull/27751
### How to test the changes in this Pull Request:
1. In WooCommerce admin go to Settings - Tax - Standard Rates and create 3 rates: one with no cities or postcodes specified, another one with one city and one postcode, and one with two cities and two postcodes (separate them with a semicolon, `;`).
2. Temporarily add this at the ned of your woocommerce.php file, this way you won't have to bother about REST API authentication: `add_filter('woocommerce_rest_check_permissions', function() {return true;}, 10, 0 );` (note that this will cause a bunch of unit tests to fail)