diff --git a/plugins/woocommerce-blocks/docs/internal-developers/testing/releases/1110.md b/plugins/woocommerce-blocks/docs/internal-developers/testing/releases/1110.md new file mode 100644 index 00000000000..0ca7d46f09e --- /dev/null +++ b/plugins/woocommerce-blocks/docs/internal-developers/testing/releases/1110.md @@ -0,0 +1,170 @@ +# Testing notes and ZIP for release 11.1.0 + +Zip file for testing: [woocommerce-gutenberg-products-block.zip](https://github.com/woocommerce/woocommerce-blocks/files/12577251/woocommerce-gutenberg-products-block.zip) + +## WooCommerce Core + +### Enhancements + +#### Add Product Collection Rows pattern [#10857](https://github.com/woocommerce/woocommerce-blocks/pull/10857) + +1. Go to Editor +2. Insert "Product Collection Rows" pattern +3. Save and go to frontend +4. Verify it looks like in the screenshots below + +| Reference | Editor | Frontend +| ------ | ----- | -- | +| ![image](https://github.com/woocommerce/woocommerce-blocks/assets/20098064/70f57d50-715d-46ef-9a80-9c6ae66044d5) | image | image | + +#### Add Simple Grid Product Collection pattern [#10835](https://github.com/woocommerce/woocommerce-blocks/pull/10835) + +1. Go to Editor +2. Insert "Product Collection Simple Grid" pattern +3. Save and go to frontend +4. Verify it looks like in the screenshots below + +| Reference | Editor | Frontend +| ------ | ----- | -- | +| ![image](https://github.com/woocommerce/woocommerce-blocks/assets/20098064/c4b2ff30-10de-4ea4-972f-dbf3548b7ded) | image | image | + +#### Product Hero Pattern > Adjust the content width [#10832](https://github.com/woocommerce/woocommerce-blocks/pull/10832) + +1. Create a new post +2. Insert the Product Hero pattern +3. Make sure the pattern is properly displayed both in the editor and on the front end + +| Before | After | +| ------ | ----- | +| Screenshot 2023-09-04 at 22 04 40 | Screenshot 2023-09-04 at 22 04 22 | + +#### Fix: Load blocks style separately for classic themes [#10758](https://github.com/woocommerce/woocommerce-blocks/pull/10758) + +0. Activate Storefront theme. +1. Create a post or page and add the All Products block. Verify styles are loaded correctly. +2. Visit the page in the frontend and verify styles are loaded correctly in the frontend as well. +3. Repeat steps 1 and 2 with all blocks listed on [this page](https://wordpress.org/plugins/woo-gutenberg-products-block/). Make sure to test each block individually. So, when possible, try with only one block on the page (in some cases, that's not possible, ie: filter blocks, in that case, try with as few blocks as possible on the page). The reason is that we want to make sure each block includes the style dependencies that it needs, so they need to be tested in isolation, otherwise styles from other blocks might leak into other blocks and "help fix issues". +4. Repeat steps above with a block themes. Block themes are excluded from the newly added logic so there shouldn't be any regression with blocks theme as well, but we should ,at least, smoke test with a block theme. + +#### Adjust `Follow us on social media` pattern icon alignment [#10709](https://github.com/woocommerce/woocommerce-blocks/pull/10709) + +1. Create a new post or page. +2. Insert the **Follow us on social media** Pattern. +3. Confirm the pattern is correctly displayed in the editor. +4. Save the post and head over to the front end and confirm the pattern is correctly displayed both on desktop and mobile view (the layout should match the one demonstrated in the above screenshots in the After column and in the screencast under the Updated section). + +| Before | After | +| ------ | ----- | +| ![CleanShot 2023-08-22 at 21 49 02](https://github.com/woocommerce/woocommerce-blocks/assets/481776/04b3c443-d4dd-4f2b-8e68-1a6b73bccec7) | ![CleanShot 2023-08-22 at 21 50 42](https://github.com/woocommerce/woocommerce-blocks/assets/481776/b6931f37-98d7-455b-a577-2732b3f32255) | + +#### Add Product Collection Full Grid pattern [#10665](https://github.com/woocommerce/woocommerce-blocks/pull/10665) + +0. At this moment Product Collection is still experimental feature (PR to make it Core feature: ![#10524](https://github.com/woocommerce/woocommerce-blocks/pull/10524)), hence the pattern is not included in the inserter. In order to test the pattern please remove ![this line](https://github.com/woocommerce/woocommerce-blocks/pull/10660/files#diff-d26dedf0a7efa88eae30cbe732192f2769376839845875e6e57505d33f19653cR6). +1. Go to Editor +3. Insert "Product Collection Full Grid" pattern +4. Save and go to frontend +5. Verify it looks like in the screenshots below + +Reference | Editor | Frontend | +| ------ | ----- | ---| +| ![image](https://github.com/woocommerce/woocommerce-blocks/assets/20098064/b8efebdb-dbfc-4181-93bf-cc0bcd8c144c) | image | image | + +### Bug Fixes + +#### Change default number of columns in Related Products [#10875](https://github.com/woocommerce/woocommerce-blocks/pull/10875) + +1. Go to Single Product template +2. Remove the content and add "WooCommerce Single Product Block" +3. Transform it to blockified template by clicking a blue button in the center of the block +4. Related Products blocks has 5 columns and grid layout + +| Before | After | +| ------ | ----- | +| image | image | + +#### Product Image: Fix bug that prevented block styles being applied within the editor [#10859](https://github.com/woocommerce/woocommerce-blocks/pull/10859) + +1. Insert Single Product Block into a page +2. Select the product image +3. Open up styles in the inspector +4. Apply a border radius +5. Check this gets applied in the editor AND on the frontend. +6. Now check other styles are working as expected (padding, margin etc) and that no regressions have been introduced. +7. Now check that other blocks using this are working as expected. E.g. `Products (Beta)` and `Product Collections (Beta)`. + +| Before | After | +| ------ | ----- | +| ![Screenshot 2023-09-06 at 14 29 17](https://github.com/woocommerce/woocommerce-blocks/assets/8639742/9770164d-32de-4eda-9ff0-ebf9967795fd) | ![Screenshot 2023-09-06 at 14 29 37](https://github.com/woocommerce/woocommerce-blocks/assets/8639742/89e009a9-9ed9-42d7-967d-67393a911af9) | + +#### Fix bug with wpautop for the empty cart [#10768](https://github.com/woocommerce/woocommerce-blocks/pull/10768) + +1. Install WooCommerce WC 8.0.x and a block theme (such as Twenty Twenty Three) +2. Go to Appearance > Editor > Templates > Cart +3. If this has the Cart Block, delete it and Include the `[woocommerce_cart]` shortcode. +4. Save and visit this page with an empty cart +5. The `Return to Shop` button should have equal padding top and bottom + +| Before | After | +|----------------------------------------------------------------------------------------------------------------------------------------------------------------------- |----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| Screenshot 2023-08-29 at 15 05 47 | Screenshot 2023-08-29 at 15 05 21 | + +#### Prevent the Cart block reloading when adding an item to it from the Empty Cart block [#10624](https://github.com/woocommerce/woocommerce-blocks/pull/10624) + +1. Add an item to your cart and go to the Cart block. Ensure it renders correctly. +2. Remove the item from your cart and ensure you see the Empty Cart block. +3. From the Empty Cart block, add an item to your cart. +4. Notice the cart loads and shows the new item. +5. Ensure the page does not reload during this process. +6. Create a page and add Products (Beta) to it. Save the page. +7. Visit the page and add items to your cart. Ensure they work and you can go to Cart -> Checkout successfully and place the order. +8. Repeat step 6 and 7 with the Products by Attribute block, and Product Collection block. + +#### Product button: Sync temporary number of items on instantiation [#10604](https://github.com/woocommerce/woocommerce-blocks/pull/10604) + +1. Add a Product Collection block +2. Add items to the cart +3. Paginate to a different page +4. Add more items to the cart +5. Check that when paginating back and forth, it shows the correct number of items +6. Open the MiniCart block +7. Change the number of items of products that are in the same page +8. Check that the animation is triggered +9. Change the number of items of products that are not in the same page +10. Navigate to the page that has those products and check that the number of items is correct +11. Use a cache plugin (or simulate a cached page) +12. Check everything again + +#### Customer Account Block: Fixed an issue that would make the account icon scale incorrectly in certain environments (prominently in the TT1 theme) [#10533](https://github.com/woocommerce/woocommerce-blocks/pull/10533) + +1. Add Customer Account block to a page. +2. Set the font-size to `XL`. +3. Activate the Twenty-Twenty-One theme. +4. Ensure the size of the icon is the same in the editor and the front-end, and is aligned with the font size of the label. + +| Before | After | +| ------ | ----- | +| Screenshot 2023-08-10 at 23 09 08 | Screenshot 2023-08-10 at 23 09 31 | + +#### Customer Account Block: Fixed an issue that caused padding to be inconsistent between the editor and the front-end [#10476](https://github.com/woocommerce/woocommerce-blocks/pull/10476) + +1. Add a Customer Account block to a post or page. +2. For easier readability of padding, assign it a background color. +3. Notice that there is a `0.5em` padding in the container, and the same around the icon. +4. Save it and test in on the front-end: padding should be the same. +5. Go back to the editor and remove the icon (select: “Text only” from the Inspector Controls). +6. Padding should decrease to just `0.5em` around the box. +7. Save and test it on the front-end: padding should be the same. + +| Before | After | +| ------ | ----- | +| Screenshot 2023-08-04 at 21 13 02 | Screenshot 2023-08-04 at 21 13 16 | + +## Feature Plugin + +### Bug Fixes + +#### Fixed notice displaying on Cart and Checkout template [#10151](https://github.com/woocommerce/woocommerce-blocks/pull/10151) + +1. Activate block based theme like Twenty-Twenty-three +2. Add product via add to cart link. (Eg: ![http://localhost/cart/?add-to-cart=34](http://localhost/cart/?add-to-cart=34)) +3. Verify that the notice stating that the item was added to cart appear diff --git a/plugins/woocommerce-blocks/docs/internal-developers/testing/releases/README.md b/plugins/woocommerce-blocks/docs/internal-developers/testing/releases/README.md index fb7c115866c..6284db5f799 100644 --- a/plugins/woocommerce-blocks/docs/internal-developers/testing/releases/README.md +++ b/plugins/woocommerce-blocks/docs/internal-developers/testing/releases/README.md @@ -174,6 +174,8 @@ Every release includes specific testing instructions for new features and bug fi - [10.9.1](./1091.md) - [10.9.2](./1092.md) - [10.9.3](./1093.md) +- [11.0.0](./1100.md) +- [11.1.0](./1110.md)