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

6.0 KiB

Testing notes and ZIP for release 5.6.0

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

Feature plugin and package inclusion in WooCommerce core

Fix SKU search in the Store API (4469)

Try some search requests via the Store API, for example:

https://store.local/wp-json/wc/store/products?search=woo-album

Ensure matched results match your query. Try searching for both titles and SKUs.

Fix all review memory leak on block transform (4428)

  • Create an empty page and add the All Reviews block.
  • Select the block and in the toolbar select the transform option
  • Hover on one option and hover out before the preview is loaded
  • Check the console is free of error warnings

Switch arrow unicode characters (4364)

View the pagination rendered on the all products block and confirm the symbol matches the screenshot above.

Before After
Before After

Feature plugin only

Add missing class to Cart skeleton title (4498)

  1. Load the Cart block and verify the margin under the Your cart title doesn't change between the rendered block and the loading skeleton.
Before After
Before After

Add styles to stop totals items being padded inside panels (4435)

  1. Add a subscription product to your cart with WC Subscriptions.
  2. Go to the Cart and Checkout blocks.
  3. Expand the "Daily/Weekly/Monthly recurring total" section at the bottom of the sidebar in both blocks.
  4. Ensure there is no extra padding and that the totals for each recurring section are aligned well.
Before After
image image

Make payment method icons display well even if theme tries to override their height/width (4427)

  1. Add some custom CSS to your theme, do something that will "accidentally" catch all images in the Cart/Checkout blocks, e.g:
.wp-block-woocommerce-cart img,
.wp-block-woocommerce-checkout img {
	height: auto !important;
	width: 100% !important;
}
  1. Go to the Cart and Checkout blocks and ensure that the payment method icons display correctly and are not too large.
  2. Experiment with a few different themes and ensure this works for each one you test.

Cart

Before After
Before After

Checkout

Before After
image After