|
| 1 | +# Testing notes and ZIP for release 9.8.2 |
| 2 | + |
| 3 | +Zip file for testing: [woocommerce-gutenberg-products-block.zip](https://github.com/woocommerce/woocommerce-blocks/files/11039374/woocommerce-gutenberg-products-block.zip) |
| 4 | + |
| 5 | +## WooCommerce Core |
| 6 | + |
| 7 | +### Fix issue that prevented spaces being added to Mini Cart, Cart and Checkout buttons [#8777](https://github.com/woocommerce/woocommerce-blocks/pull/8777) |
| 8 | + |
| 9 | +1. With Firefox, add the Cart block to a post or page. |
| 10 | +2. In the editor, press the _Proceed to Checkout_ button to edit the text to something like: _Go to payment_ (or any string containing spaces). |
| 11 | +3. Verify the text is updated correctly and spaces are added as expected. |
| 12 | +4. Preview the page in the frontend and verify the button text is correct as well. |
| 13 | +5. Repeat steps 1-4 with the Checkout and Mini Cart blocks. (For the Mini Cart, you will need to edit its template part) |
| 14 | + |
| 15 | +### Fix Customer Account block doing a 404 request in the frontend [#8798](https://github.com/woocommerce/woocommerce-blocks/pull/8798) |
| 16 | + |
| 17 | +1. With a block theme like [TT3](https://wordpress.org/themes/twentytwentythree/), add the Customer Account block to the header of your site. |
| 18 | +2. Go to the frontend and open the _Network_ tab in the browser devtools (<kbd>F12</kbd>). |
| 19 | +3. Verify there is no request to `build/customer-account-frontend.js` which returns 404. |
| 20 | + |
| 21 | +### Display the link to add the shipping address when shipping address is not available [#8141](https://github.com/woocommerce/woocommerce-blocks/pull/8141) |
| 22 | + |
| 23 | +#### Case 1 (with no default shipping rates) |
| 24 | + |
| 25 | +<img width="1429" alt="image" src="https://user-images.githubusercontent.com/11503784/214127269-1cb4d478-88b7-4343-b841-96c35300fd6d.png"> |
| 26 | + |
| 27 | +1. Go to the WooCommerce settings page: `wp-admin/admin.php?page=wc-settings`. |
| 28 | +2. Change 'Default customer location' to `No location by default`. |
| 29 | +3. Make sure you have at least one shipping zone with a shipping method available. |
| 30 | +4. Remove any default (fallback) shipping rates. |
| 31 | +5. Open your site in a private session (incognito mode). |
| 32 | +6. Add some products to the cart. |
| 33 | +7. Go to the cart page, and confirm the "Add an address for shipping rates" link is present in the shipping calculator. |
| 34 | +8. Click on the link, and confirm it is working as expected. |
| 35 | +9. Open your site in a regular session where you're already logged in and have placed an order before. |
| 36 | +10. Add some products to the cart. |
| 37 | +11. Go to the cart page, confirm the shipping address, and "change address" link present in the shipping calculator. |
| 38 | +12. Click on the link, and confirm it is working as expected. |
| 39 | + |
| 40 | +#### Case 2 (with default shipping rates) |
| 41 | + |
| 42 | +<img width="1286" alt="image" src="https://user-images.githubusercontent.com/11503784/214127480-f8387749-d45b-41fe-b0d5-db29665eb759.png"> |
| 43 | + |
| 44 | +1. Go to the WooCommerce settings page: `wp-admin/admin.php?page=wc-settings`. |
| 45 | +2. Change 'Default customer location' to `No location by default`. |
| 46 | +3. Make sure you have at least one shipping zone with a shipping method available. |
| 47 | +4. Add a default (fallback) shipping rate (don't select any Zone region when creating it). |
| 48 | +5. Open your site in a private session (incognito mode). |
| 49 | +6. Add some products to the cart. |
| 50 | +7. Go to the cart page, and confirm the shipping calculator is hidden and default shipping rates are visible |
| 51 | +8. Open your site in a regular session where you're already logged in and have placed an order before. |
| 52 | +9. Add some products to the cart. |
| 53 | +10. Go to the cart page, confirm the shipping address, and "change address" link present in the shipping calculator. |
| 54 | +11. Click on the link, and confirm it is working as expected. |
| 55 | + |
| 56 | +#### Case 3 (Error Notice) |
| 57 | + |
| 58 | +1. Go to the WooCommerce settings page: `wp-admin/admin.php?page=wc-settings`. |
| 59 | +2. Change 'Default customer location' to `No location by default`. |
| 60 | +3. Make sure you have at least one shipping zone with a shipping method available. |
| 61 | +4. Remove any default (fallback) shipping rates. |
| 62 | +5. Open your site in a private session (incognito mode). |
| 63 | +6. Add some products to the cart. |
| 64 | +7. Go to the cart page, and confirm the "Add an address for shipping rates" link is present in the shipping calculator. |
| 65 | +8. Click on the link, and change the address to a location where shipping rates are unavailable. |
| 66 | +9. Confirm that `There are no shipping options available. Please check your shipping address.` error is visible in the text form. |
| 67 | +10. Proceed to the Checkout block page, and confirm the `There are no shipping options available. Please check your shipping address` error is visible in the text form under Shipping options. |
0 commit comments