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

127 lines
5.0 KiB
Markdown

# Testing notes and ZIP for release 4.7.0
Zip file for testing: [woocommerce-gutenberg-products-block.zip](https://github.com/woocommerce/woocommerce-gutenberg-products-block/files/6149138/woocommerce-gutenberg-products-block.zip)
## Feature plugin and package inclusion in WooCommerce core
### General smoke testing
The following are related to various changes impacting some existing flows so just need validated there's nothing broken:
- Create a post or page and add some WC Blocks.
- Verify they look correct and styles loaded properly.
- Publish that post or page.
- In the frontend, verify blocks also look correct and styles loaded properly.
### Fix FSE not being visible when WC Blocks was enabled (#3898)
1. Install a FSE compatible theme (ie, [Armando](https://wordpress.org/themes/download/armando.1.0.0.zip?nostats=1)).
2. Enable Gutenberg and WooCommerce.
3. Click on the _Site Editor_ sidebar menu item.
4. Verify the FSE page loads correctly.
### Fix block elements that don't play well with dark backgrounds (#3887)
1. Add the block to a page: Filter by price, Active filters, Product search & Product Categories List
2. Set a dark background for the website
3. Check that all the component elements are visible.
#### Screenshots
The cursor for _Filter Products by price_ is cut on top-bottom and is more visible on dark backgrounds
Before:
![image](https://user-images.githubusercontent.com/1628454/108357761-28776300-71ee-11eb-835f-7959fd24ea09.png)
after:
![image](https://user-images.githubusercontent.com/1628454/109490442-24fe9a00-7a80-11eb-9d23-a39e4dd5dd0f.png)
The button from _Product search_ and _Product Categories List_ is barely visible
Before:
![image](https://user-images.githubusercontent.com/1628454/108357873-4e9d0300-71ee-11eb-88f4-708fc74efc75.png)
after:
![image](https://user-images.githubusercontent.com/1628454/109490516-3e074b00-7a80-11eb-9177-b280eaadcabd.png)
![image](https://user-images.githubusercontent.com/1628454/109490656-7018ad00-7a80-11eb-8ae1-35f776a2763f.png)
The remove button from _Active Product filters_ is barely visible.
Before:
![image](https://user-images.githubusercontent.com/1628454/108357905-58bf0180-71ee-11eb-813a-083833e340bc.png)
after:
![image](https://user-images.githubusercontent.com/1628454/109491041-ff25c500-7a80-11eb-9e87-75c1e7ddf460.png)
### Fix Price not showing on All Products (#3958)
1. View all Products Block
2. Confirm prices are displayed
3. Confirm prices still display in cart/checkout to verify no regressions
## Feature plugin only
### Ensure sale badges have a uniform height in the Cart block. (#3897)
1. Add an item that's on sale to your cart then go to the cart block. Increase its quantity to 2 or more.
2. Verify the sale badges are the same height.
#### Screenshots
Before:
![image](https://user-images.githubusercontent.com/5656702/109493773-e0293200-7a84-11eb-8153-fdc47125835f.png)
after:
![image](https://user-images.githubusercontent.com/5656702/109491715-dce07700-7a81-11eb-8dee-8258626b71ae.png)
### Remove extra padding from payment methods with no description #3952
1. Go to WooCommerce > Settings > Payments, edit one of the payment methods and remove any text in its description field.
2. Go to the Checkout block and select the payment method you modified in step 1.
3. Verify there isn't extra padding at the bottom.
#### Screenshots
Before:
![image](https://user-images.githubusercontent.com/3616980/110822161-150d6400-8291-11eb-91c9-a442b63d5f67.gif)
(notice the extra padding that appears when selecting check payments)
after:
![image](https://user-images.githubusercontent.com/3616980/110822189-19d21800-8291-11eb-8c51-bdca2bfdc087.gif)
### Fix "save payment" checkbox not showing for payment methods (#3950)
1. Enable stripe or WCPay (stripe is easier).
2. Enable using saved payment methods.
3. Add a regular (not a subscription product) to your cart and checkout.
4. Open Stripe payment box, see if the save checkbox is visible.
### Fix cart preview when shipping rates are set to be hidden until an address is entered (#3946)
1. Tick WooCommerce > Settings > Shipping > Hide shipping costs until an address is entered
2. Add a cart block to a page, and in the block options disable "Shipping Calculator"
3. See the preview of the block
#### Screenshots
Before:
![image](https://user-images.githubusercontent.com/1628454/110649430-7d851400-81b1-11eb-8eb0-b2a1cea80f63.png)
after:
![image](https://user-images.githubusercontent.com/1628454/110648926-10717e80-81b1-11eb-83c4-f57f254107f3.png)
### Provided billing data to payment method extensions so they can decide if payment is possible (#3992)
1. Smoke test checkout and the payment process.
2. smoke test payments via stripe for any regression.
### Smoke Testing
The following are related to various changes impacting some existing flows so just need validated there's nothing broken
- Cart and checkout coupons interaction works as expected.
- Cart and checkout changing quantities works as expected.
- Cart and checkout shipping interaction works as expected.
- Cart and checkout express payment method works as expected.