woocommerce/plugins/woocommerce-blocks/docs/testing/releases/720.md

47 lines
3.0 KiB
Markdown
Raw Normal View History

2022-03-15 11:53:56 +00:00
## Testing notes and ZIP for release 7.2.0
Zip file for testing: [woocommerce-gutenberg-products-block.zip](https://github.com/woocommerce/woocommerce-gutenberg-products-block/files/8245571/woocommerce-gutenberg-products-block.zip)
## Feature plugin and package inclusion in WooCommerce
### Store API: Consistent error code and hook naming [#5992](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/5992) and Remove v1 string from Store Keys [#5987](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/5987)
1. Smoke test the All Products Block and confirm products are still displayed.
2. Smoke test Cart/Checkout Blocks and confirm the Blocks render and show cart contents.
### Featured Product block: Add the ability to reset to a previously set custom background image ([5886](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/5886))
1. Add a Featured Product block to a page, post, or template. Select a product that has a product image.
2. In the block toolbar, click Replace and add custom background media.
3. The button to Reset the image should become available in the block toolbar.
4. Clicking the Reset button should remove the custom media.
5. The original product image should show again.
## Feature Plugin
### Correctly load JS translations from WC core [#6036](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/6036)
1. Go to Settings > General > Language (/wp-admin/options-general.php) and select a language which has WC core translation at 100% but WC Blocks' at 0%. (I tested with Català).
2. Go to the updates screen (/wp-admin/update-core.php), scroll down and update the language translations.
3. Visit the Cart or Checkout block in the frontend and verify all texts are translated.
### Try to memoize/cache filter results so that we don't call third party filters too often [#5143](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/5143)
These instructions use WooCommerce Subscriptions as this is known to use several filters in different places.
1. Install WooCommerce Subscriptions and create a subscription product.
2. Add it to the cart.
3. Go to the Cart block and ensure it shows the details of the subscription product under the line item.
4. Ensure you can still successfully check out and you are charged the amount you expect to be based on the item price in the database, what is displayed in the Cart block and what is displayed in the Checkout block.
### Checkout: Missing country error for virtual orders (edge case) [#6050](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/6050)
1. WC settings > General - set default customer location to "no location by default"
2. Create a downloadable, virtual product
3. Go to the store as a logged out guest in incognito mode
4. Add the virtual/downloadable product to your cart
5. Go to checkout
6. Fill out billing address
7. Place order. It should succeed.
8. Check order details. Shipping should match billing address.