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

880 B

Testing notes and ZIP for release 9.4.1

Zip file for testing: woocommerce-gutenberg-products-block.zip

Feature plugin and package inclusion in WooCommerce

Prevent Cart and Checkout notices from disappearing immediately after adding. (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.