Updated Release Testing Instructions WooCommerce 4.9 (markdown)
parent
ee61acde5e
commit
3b9440e09e
|
@ -169,7 +169,7 @@ PR for reference: https://github.com/woocommerce/woocommerce/pull/28620
|
||||||
|
|
||||||
**To test:**
|
**To test:**
|
||||||
|
|
||||||
Test Case #1: Stock should be adjusted after manually deleting a product from the order
|
**Test Case #1: Product stock should be adjusted after manually deleting a product from the order **
|
||||||
|
|
||||||
- Place an order with a product that has stock.
|
- Place an order with a product that has stock.
|
||||||
- See Order Notes. Stock is reduced for that item.
|
- See Order Notes. Stock is reduced for that item.
|
||||||
|
@ -181,6 +181,31 @@ Screenshot of expected order notes:
|
||||||
|
|
||||||
![](https://cldup.com/U2X6teahYy.png)
|
![](https://cldup.com/U2X6teahYy.png)
|
||||||
|
|
||||||
|
**Test Case #2: Product stock should be reduced when the 'Pending Payment' order is set to 'Cancelled'**
|
||||||
|
|
||||||
|
- Create a product and set its stock to 10.
|
||||||
|
- Enable PayPal Standard.
|
||||||
|
- Add product to the cart.
|
||||||
|
- Click 'Proceed to PayPal' to navigate to PayPal.
|
||||||
|
- At this point, close the window with PayPal. Don't go back to the checkout. An order in `Pending payment` status should be created in WooCommerce.
|
||||||
|
- Navigate to the new `Pending Payment` order in WooCommerce admin.
|
||||||
|
- Change the order status to `Cancelled`.
|
||||||
|
- Product stock should be increased and become 10 again.
|
||||||
|
|
||||||
|
Screenshot of expected order notes regarding stock:
|
||||||
|
|
||||||
|
![](https://user-images.githubusercontent.com/19143190/101995505-46799200-3c98-11eb-8c88-f2ae475ff7d2.jpg)
|
||||||
|
|
||||||
|
Please test all order statuses by repeating the steps above:
|
||||||
|
|
||||||
|
- From `Pending Payment` to `Cancelled` - can be tested using PayPal Standard (included with WooCommerce Core).
|
||||||
|
- From `Processing` to `Cancelled` - can be tested using PayPal Standard, Stripe, or any other payment gateway.
|
||||||
|
- From `On hold` to `Cancelled` - can be tested using Bank Transfer (included in WooCommerce Core)
|
||||||
|
- From `Completed` to `Cancelled` (not via refund) - can be tested using PayPal Standard, Stripe, or any other payment gateway.
|
||||||
|
- From `Completed` to `Cancelled` (via refund) - can be tested using PayPal Standard, Stripe, or any other payment gateway.
|
||||||
|
|
||||||
|
In all cases, the product stock should be restocked back to what it was before placing the order.
|
||||||
|
|
||||||
### Review count failure fix
|
### Review count failure fix
|
||||||
|
|
||||||
PR for reference: https://github.com/woocommerce/woocommerce/pull/28624
|
PR for reference: https://github.com/woocommerce/woocommerce/pull/28624
|
||||||
|
|
Loading…
Reference in New Issue