woocommerce/plugins/woocommerce-blocks/docs/internal-developers/testing/releases/941.md

16 lines
880 B
Markdown
Raw Normal View History

# Testing notes and ZIP for release 9.4.1
Zip file for testing: [woocommerce-gutenberg-products-block.zip](https://github.com/woocommerce/woocommerce-blocks/files/10478793/woocommerce-gutenberg-products-block.zip)
## Feature plugin and package inclusion in WooCommerce
### Prevent Cart and Checkout notices from disappearing immediately after adding. ([8253](https://github.com/woocommerce/woocommerce-blocks/pull/8253))
1. Add an item to your cart. Open the same item in the editor.
2. In a new tab go to the Cart block.
3. In the editor set the item to be out of stock.
4. In the Cart block, update the item's quantity, ensure you see a notice.
5. Open the console. Type: `wp.data.dispatch( 'core/notices' ).createNotice( 'error', 'error from console', { context: 'wc/cart', } );`
6. Ensure your error appears alongside the out of stock notice.
7. Repeat for the mini-cart.