|
| 1 | +## Testing notes and ZIP for release 4.3.0 |
| 2 | + |
| 3 | +Zip file for testing: [woocommerce-gutenberg-products-block.zip](https://github.com/woocommerce/woocommerce-gutenberg-products-block/files/5833775/woocommerce-gutenberg-products-block.zip) |
| 4 | + |
| 5 | +## Feature plugin and package inclusion in WooCommerce core |
| 6 | + |
| 7 | +### - Update input colors and alignment. ([3597](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/3597)) |
| 8 | + |
| 9 | + |
| 10 | +1. Open a page with a Checkout Block and observer the checkboxes and radio buttons - they should be clearly visible. |
| 11 | +2. Go to the page Customizer and change page background to a dark color. |
| 12 | +3. Again check the checkboxes and radio buttons at the page with the Checkout Block - they should be clearly visible. |
| 13 | + |
| 14 | +## Feature plugin only |
| 15 | + |
| 16 | +### - Store API - Fix selected rate in cart shipping rates response. ([3680](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/3680)) |
| 17 | + |
| 18 | +1. Get a cart response from the API. |
| 19 | +2. Check shipping packages are returned correctly. |
| 20 | + |
| 21 | +### - Create get_item_responses_from_schema abstraction. ([3679](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/3679)) |
| 22 | + |
| 23 | +1. Get a cart response from the Store API. |
| 24 | +2. Check response contains correct: items, coupons and shipping information. |
| 25 | + |
| 26 | +### - Show itemized fee rows in the cart/checkout blocks. [3678](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/3678) |
| 27 | + |
| 28 | +1. Use the following code snippet in woocommerce-gutenberg-products-block.php: |
| 29 | + ```PHP |
| 30 | + add_action( 'woocommerce_cart_calculate_fees', 'add_fees', 10 ); |
| 31 | + function add_fees( $cart ) { |
| 32 | + $cart->add_fee( __( 'Packaging 1', 'woo-gutenberg-products-block' ), 100, true ); |
| 33 | + $cart->add_fee( __( 'Packaging 2', 'woo-gutenberg-products-block' ), 50, true ); |
| 34 | + } |
| 35 | + ``` |
| 36 | +2. Go to the cart page and see fee rows. |
| 37 | +3. Go to checkout page and see fee rows. |
| 38 | +4. Test with and without prices including tax in WC Tax settings. |
| 39 | + |
| 40 | +### - Extensibility: Show item data in Cart and Checkout blocks and update the variation data styles. ([3665](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/3665)) |
| 41 | + |
| 42 | + |
| 43 | +Variations: |
| 44 | + |
| 45 | +1. Add a variable product to your cart and go to the Cart and Checkout pages. |
| 46 | +2. Verify variations are displayed with the new design (a list instead of separated by /). |
| 47 | + |
| 48 | +WC Subscriptions: |
| 49 | + |
| 50 | +1. Currently, WC Subscriptions doesn't use cart item data yet, but you can checkout this WIP branch to test it: fix/subscription-details-cart-item-data. |
| 51 | +2. Create a subscription product with free trial and/or sign up fee. |
| 52 | +3. Add that product to your cart and go to the Cart and Checkout pages. |
| 53 | +4. Verify the free trial and sign up fee are displayed. |
| 54 | + |
| 55 | +WC Product Add-Ons: |
| 56 | + |
| 57 | +1. Create a product with a product add-on. |
| 58 | +2. Add that product to your cart and go to the Cart and Checkout pages. |
| 59 | +3. Verify add-on data is displayed. |
| 60 | + |
| 61 | +### - Improve error displayed to customers when an item's stock status changes during checkout. ([3656](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/3656)) |
| 62 | + |
| 63 | +1. **In an incognito window** Add several products to your cart. Add these in differing quantities. Several of these added products need to have a quantity of 3+ in the cart. |
| 64 | +2. Open the checkout page and ensure all the products are showing. **Do different combinations of the following steps in a different session to the one where you've added the items, and also without refreshing the checkout page. This is necessary because we can't be logged in as admin when testing step 3 below.** |
| 65 | +3. Delete one or more of the products from the back end. |
| 66 | +4. Set one or more of the products to "Manage stock?" true, and edit the in-stock amount of one or more of the products ensuring it is below the quantity that is in the cart, but above 0. |
| 67 | +5. Set one or more of the products to "Sold individually" |
| 68 | +6. Set one or more of the products to be entirely out of stock. |
| 69 | +7. Try to check out and ensure you see the correct error messages for the products whose stock you've changed/reduced. |
| 70 | +8. Try a few different scenarios with stock levels, number of products affected, number of products in cart etc. |
0 commit comments