87 lines
6.4 KiB
Markdown
87 lines
6.4 KiB
Markdown
# Testing notes and ZIP for release 5.6.0
|
|
|
|
Zip file for testing: [woocommerce-gutenberg-products-block.zip](https://github.com/woocommerce/woocommerce-gutenberg-products-block/files/6916635/woocommerce-gutenberg-products-block.zip)
|
|
|
|
## Feature plugin and package inclusion in WooCommerce core
|
|
|
|
### Fix SKU search in the Store API ([4469](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/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](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/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](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/4364))
|
|
|
|
View the pagination rendered on the all products block and confirm the symbol matches the screenshot above.
|
|
|
|
| Before | After |
|
|
| ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------ |
|
|
| ![Before](https://user-images.githubusercontent.com/90977/122258064-8bd97f00-cec8-11eb-8e0a-a82e62a4804a.png) | ![After](https://user-images.githubusercontent.com/90977/122258089-9136c980-cec8-11eb-90a0-543ca30dc482.png) |
|
|
|
|
## Feature plugin only
|
|
|
|
### Add missing class to Cart skeleton title ([4498](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/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](https://user-images.githubusercontent.com/3616980/126756563-6771d730-1379-4eef-99b5-0d4823ba969f.gif) | ![After](https://user-images.githubusercontent.com/3616980/126756468-3b2f898d-c60f-46a8-bfbb-8c716f6c11a5.gif) |
|
|
|
|
### Add styles to stop totals items being padded inside panels ([4435](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/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](https://user-images.githubusercontent.com/5656702/124741599-c8225d00-df13-11eb-8650-2fd3cdabac5f.png) | ![image](https://user-images.githubusercontent.com/5656702/124741331-7d084a00-df13-11eb-9ccf-34a7dd398d1d.png) |
|
|
|
|
### Make payment method icons display well even if theme tries to override their height/width ([4427](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/4427))
|
|
|
|
1. Add some custom CSS to your theme, do something that will "accidentally" catch all images in the Cart/Checkout blocks, e.g:
|
|
|
|
```css
|
|
.wp-block-woocommerce-cart img,
|
|
.wp-block-woocommerce-checkout img {
|
|
height: auto !important;
|
|
width: 100% !important;
|
|
}
|
|
```
|
|
|
|
2. Go to the Cart and Checkout blocks and ensure that the payment method icons display correctly and are not too large.
|
|
3. Experiment with a few different themes and ensure this works for each one you test.
|
|
|
|
#### Cart
|
|
|
|
| Before | After |
|
|
| --------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- |
|
|
| ![Before](https://user-images.githubusercontent.com/5656702/124503622-dbbbaf80-ddbd-11eb-9465-3647810ce35d.png) | ![After](https://user-images.githubusercontent.com/5656702/124503569-c3e42b80-ddbd-11eb-9dd3-c9cd83ee771d.png) |
|
|
|
|
#### Checkout
|
|
|
|
| Before | After |
|
|
| -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- |
|
|
| ![image](https://user-images.githubusercontent.com/5656702/124503666-ed04bc00-ddbd-11eb-9da1-f9bf9fe3c274.png) | ![After](https://user-images.githubusercontent.com/5656702/124503503-9eefb880-ddbd-11eb-9bd9-e3d0e7145169.png) |
|
|
|
|
<!-- FEEDBACK -->
|
|
|
|
---
|
|
|
|
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
|
|
|
|
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-gutenberg-products-block/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/testing/releases/560.md)
|
|
|
|
<!-- /FEEDBACK -->
|