Add testing notes for the 6.7.0 release

This commit is contained in:
Raluca Stan 2022-01-03 15:58:09 +01:00
parent b88b4e99ac
commit 5c0f3bfd33
2 changed files with 99 additions and 0 deletions

View File

@ -0,0 +1,98 @@
## Testing notes and ZIP for release 6.7.0
Zip file for testing: [woocommerce-gutenberg-products-block.zip](https://github.com/woocommerce/woocommerce-gutenberg-products-block/files/7802539/woocommerce-gutenberg-products-block.zip)
## Feature Plugin
### Fixed an issue where the checkout address fields would be blank for logged in customers. ([5473](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/5473))
1. While logged in, with a customer than has checked out before, visit the Checkout block page
2. Confirm shipping address fields are populated
3. Toggle the `Different billing address' box`. Confirm that the billing fields are populated.
4. Finish your purchase successfully
### Prevent a 0 value shipping price being shown in the Checkout if no shipping methods are available. ([5444](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/5444))
| Before | After |
| -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- |
| ![image](https://user-images.githubusercontent.com/5656702/147132243-bd42c69c-415b-45d6-9e7f-ebd02e1c0ab9.png) | ![image](https://user-images.githubusercontent.com/5656702/147132055-1efbd023-f99c-4651-bccc-5608ddc7ba7a.png) |
1. Go to WooCommerce > Settings > Shipping and remove all shipping methods, including shipping methods for `Locations not covered by your other zones`.
2. Add a shipping zone for a specific country, for example USA.
3. Add some methods to this zone, free shipping and flat rate are fine.
4. Add some items to the cart.
5. Go to the Cart.
6. Check you can still use the shipping calculator.
7. Check that the shipping rates show when using a USA address.
8. Check the error shows when using an address from another country, e.g. UK.
9. Go to the Checkout block.
10. Notice the shipping subtotal does not contain a price if your address is in an invalid country.
11. Change country on the Checkout form.
12. Notice that a shipping price is only shown when the address is in a valid country.
13. Try changing country back and forth and selecting different shipping rates.
### Ensure that the translation of the "Proceed to Checkout" button is working. ([5453](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/5453))
| Before | After |
| -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- |
| ![image](https://user-images.githubusercontent.com/3323310/147332014-9d76312d-a0a4-4682-94fa-5fbed6957380.png) | ![image](https://user-images.githubusercontent.com/3323310/147332020-48140705-4b7f-44e4-b967-0459424a33cd.png) |
1. Create a test page and add the Cart block.
2. Go to `/wp-admin/options-general.php` and change the site language to `Norsk bokmål`.
3. Go to `/wp-admin/update-core.php` and update the translations.
4. Go to the front-end, add a product to cart and visit the Cart block.
5. See that the "Proceed to Checkout" button is now translated.
### Added global styles (text color) to the Active Filters block. ([5465](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/5465))
![image](https://user-images.githubusercontent.com/4463174/147587196-86b1ee61-8ec9-41c3-a9dd-0a709b68e513.png)
1. Install and enable the `Gutenberg` plugin.
2. Install and enable the `TT1 Blocks` theme.
3. Add the Active Filters block to a post. (you need to add a block like `Filters Product By Attribute`)
4. Verify you can change the text color.
5. Save your changes.
6. Go on the page and check if there are changes.
7. Reset to default.
8. Go to admin panel and click `Site Editor`.
9. Click on the Global styles icon.
10. Verify the Active Filters block is shown and you can tweak its styles.
11. Save your changes.
12. Go on the page created earlier and check if all styles are applied correctly.
13. Edit your previous post/page again.
14. Change again the text color.
15. Save your changes.
16. Check if these styles have priority over the styles from the Site Editor.
### Fix custom templates with fallback to archive being incorrectly attributed to the user in the editor instead of the parent theme. ([5447](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/5447))
1. Install and enable the `Gutenberg` plugin.
2. Install and enable the `TT1 Blocks` theme.
3. Add an `archive-product.html`. This is because we are using the themes archive-product.html file for the category and tag templates as they're typically the same.
4. Go to the templates list within the Site Editor
5. You will see now that `Product Archive`, `Product Category` and `Product Tag` are added by the theme.
6. Customize the `Product Category` template and save it.
7. Navigate back to the templates list within the Site Editor. You will notice under the "Added By" column it should say your theme along with a theme icon.
8. Notice that these templates render in the Site Editor, and on the front-end as expected with and without customizations.
## Feature plugin and package inclusion in WooCommerce
### Account for products without variations in the On Sale Products block. ([5470](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/5470))
On an store with no products:
1. Add 2 simple products on sale and publish them.
2. Go to a test page and add the On Sale Products block.
3. Visit the page on the front-end.
4. Notice that no MySQL error is present in Query Monitor.
### Remove text decorations from product filtering blocks items. ([5384](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/5384))
| Before | After |
| -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- |
| ![image](https://user-images.githubusercontent.com/3323310/146129258-794efe6d-b73d-4d33-a7f6-421e0ecaad3f.png) | ![image](https://user-images.githubusercontent.com/3323310/146129264-df7a0531-286c-4316-ab22-5605735d6e26.png) |
1. Create a test page.
2. Add the Filter Products by Attribute, Filter Products by Stock and All Products blocks to it.
3. Visit the test page in the frontend.
4. Verify that the options within the Filter Products by Attribute and Filter Products by Stock blocks are not underlined.

View File

@ -54,3 +54,4 @@ Every release includes specific testing instructions for new features and bug fi
- [6.4.0](./640.md)
- [6.5.0](./650.md)
- [6.6.0](./660.md)
- [6.7.0](./670.md)