# Testing notes and ZIP for release 11.3.0 Zip file for testing: [woocommerce-gutenberg-products-block.zip](https://github.com/woocommerce/woocommerce-blocks/files/12862192/woocommerce-gutenberg-products-block.zip) ## WooCommerce Core ### Condensed Address Form Implementation [11167](https://github.com/woocommerce/woocommerce-blocks/pull/11167) #### As a logged out guest customer 1. Add something to cart and then go to checkout 2. Notice the address form is shown 3. Fill out address. Wait for totals to update. 4. Refresh the page. Condensed address component should be visible. #### As a logged in user who has checked out before (has an address) 1. Repeat above tests. Condensed address component should be visible upon entry to checkout. 2. Click "edit" on the condensed shipping address. Form should be shown instead. 3. Uncheck "use shipping for billing". Billing address form should be shown. 4. Change some item of billing address data. 5. Refresh the page. 6. Condensed billing address should be shown. ![Screenshot 2023-10-06 at 17 15 21](https://github.com/woocommerce/woocommerce-blocks/assets/90977/06621207-9ab6-4e75-8b04-e2c8e532971e) ### Store Customization > Update aspect ratio, icons and default text for the Social: Follow us on social media pattern [11161](https://github.com/woocommerce/woocommerce-blocks/pull/11161) 1. Create a new post 2. Insert the **Social: Follow us on social media** pattern 3. Make sure it is correctly rendered both on the editor side and on the front end. The images should all be with a square format. 4. Make sure the icons have the color set as primary. | Before | After | | ------ | ----- | | | | ### Add horizontal padding to the Featured Category Triple pattern [11160](https://github.com/woocommerce/woocommerce-blocks/pull/11160) 1. Create a new page or post. 2. Insert the `Featured Category Triple` pattern. 3. Check if there's a padding left and right of the pattern, both in the editor and the front end. ### Remove placeholder and pagination [11145](https://github.com/woocommerce/woocommerce-blocks/pull/11145) 1. Create a new page or post. 2. Insert the `Product Collection 3 Columns`, `Product Collection 4 Columns`, `Product Collection 5 Columns`, and `Product Gallery` patterns. 3. Check they don't have the pagination or the no results blocks. 4. Check the image's aspect ratio is portrait (height > width). | Before | After | | ------ | ----- | | | | ### Store Customization > Homepage Template 1: Review layout and spacing in between patterns [11144](https://github.com/woocommerce/woocommerce-blocks/pull/11144) 1. Create a new page or post and insert all the patterns shown in the screenshot below ๐ - `Minimal 5-column products row` corresponds to `Product Collection 5 Columns` 2. Make sure the design is the same and the spacing between patterns matches. ### Store Customization > Replace patterns based on the Products (Beta) block with an equivalent based on the Product Collection block [11134](https://github.com/woocommerce/woocommerce-blocks/pull/11134) | Old Pattern | Replacement | | ------ | ----- | | 3-Column Product Row | Product Collection 3 Columns | | 1:1 Image 4-Column Product Row | Product Collection 4 Columns | | Minimal 5-Column Product Row | Product Collection 5 Columns | | Featured Products 5-Item Grid | Product Collection: Featured Products 5 Columns | 1. Create a new post 2. Insert the following patterns: Product Collection 3 Columns, Product Collection 4 Columns, Product Collection 5 Columns, Product Collection: Featured Products 5 Columns 3. Make sure all of them are using the Product Collection block for rendering in the editor: 4. Save and head over to the front end: make sure things are working as expected and the designs match the ones displayed on the screenshots in this PR. ### Store Customization > Homepage Template 3: Review layout and spacing in between patterns [11131](https://github.com/woocommerce/woocommerce-blocks/pull/11131) 1. Create a new page or post and insert all the patterns shown in the screenshot below ๐ (`Featured Products 5-Item Grid` corresponds to `Product Collection: Featured Products 5 Columns`) 2. Make sure the design is the same and the spacing between patterns matches. ### Store Customization > Add default image to Just Arrived pattern [11130](https://github.com/woocommerce/woocommerce-blocks/pull/11130) 1. Create a new post and add the pattern "Just Arrived Full Hero" 2. Check that it looks like the below screenshots on both desktop and mobile viewports both in the editor and on the frontend. | Desktop | Mobile | | ------ | ----- | | ![Screenshot 2023-10-04 at 14 21 14](https://github.com/woocommerce/woocommerce-blocks/assets/8639742/321440db-4be3-4691-af48-427edbe60488) | ![Screenshot 2023-10-04 at 14 21 28](https://github.com/woocommerce/woocommerce-blocks/assets/8639742/90b55b88-e7da-4555-b25e-480ad4474a22) | ### Store Customization > Homepage Template 2: Review layout and spacing in between patterns [11129](https://github.com/woocommerce/woocommerce-blocks/pull/11129) 1. Create a new page or post and insert all the patterns shown in the screenshot below ๐ - `1:1 image 4-column products row` corresponds to `Product Collection 4 Columns`. - `Minimal 5-column products row` corresponds to `Product Collection 5 Columns`. 2. Make sure the design is the same and the spacing between patterns matches. ### Add data-price button attribute containing product price [11117](https://github.com/woocommerce/woocommerce-blocks/pull/11117) 1. Add a page with a Products (Beta), Product by Category or Products by Attribute block on it. 2. Install Pinterest Tag Helper extension into your browser (I use Chrome for that matter). 3. Navigate to the page with the added block and click Add to Cart button. 4. See an AddToCart event inside Pinterest Tag Helper has no value attribute value (it has it set to null, instead of a product price). ![240404349-7dbb2c93-2fd4-4820-ac59-87e3cee11075](https://github.com/woocommerce/woocommerce-blocks/assets/9010963/f42032c7-a971-4f52-a6ff-d3336e9e1182) Expected value is not `null` ### Store Customization > Wireframe and adjust width for the Just Arrived Full Hero pattern [11115](https://github.com/woocommerce/woocommerce-blocks/pull/11115) 1. Create a new post 2. Insert the **Just Arrived Full Hero** pattern 3. Add an image to it and save 4. Make sure the styles match what is on the screenshots of this PR 5. Save the post and check the front end: make sure things are working as expected as well | Desktop | Mobile | | ------ | ----- | | | | ### Remove opinionated styles from the Hero Product 3 Split pattern [11110](https://github.com/woocommerce/woocommerce-blocks/pull/11110) 1. Insert the `Hero Product 3 Split` pattern into your page. 2. Go to Site Editor > Styles and select various color palettes. 3. Ensure the patterns style changes color based on the selected preferences. 4. Test in various block themes to ensure it works as expected. | Before | After | | ------ | ----- | | | | ### Store Customization > Add the Featured Category Cover Image pattern [11109](https://github.com/woocommerce/woocommerce-blocks/pull/11109) 1. Create a new post 2. Insert the **Featured Category Cover Image** pattern 3. Make sure the styles match what is on the screenshots of this PR 4. Save the post and check the front end: make sure things are working as expected as well | Desktop | Mobile | | ------ | ----- | | | | ### Add fee ID/key to parent cart and checkout block [11054](https://github.com/woocommerce/woocommerce-blocks/pull/11054) #### Testing notes for the development team 1. add a fee to you cart, for example by using this code in your functions.php ``` add_action( 'woocommerce_cart_calculate_fees', function( $cart ) { $cart->add_fee( 'Fee 0', 5, true ); $cart->add_fee( 'Fee 2', 10, true ); $cart->add_fee( 'Fee 3', 50, true ); }); ``` 2. go to your cart or checkout block 3. check the CSS classes of the fee elements with your browser developer tool ![screen](https://github.com/woocommerce/woocommerce-blocks/assets/2648926/e89c27de-6306-4dcf-84cc-ab0a7a297988) ### Update the sidebar notice we show for incompatible extensions [10877](https://github.com/woocommerce/woocommerce-blocks/pull/10877) #### Testing notes for the development team ##### Test updated text 1. Install and activate the [Coinbase Commerce extension](https://wordpress.org/plugins/coinbase-commerce/). 2. Install and activate the [Paystack WooCommerce Payment Gateway extension](https://wordpress.org/plugins/woo-paystack/). You should check `Enable Paystack` in its settings. 3. Create a test page and add the Checkout block to it. 4. Open the settings sidebar, if not already open. 5. Verify that the incompatibility notice lists the `Coinbase` and `Paystack` extensions: > **Note** > If the compatibility notice does not appear, then open the inspector, go to `Application ยป Local Storage`, select your local site, remove the entry `wc-wc-blocks_dismissed_incompatible_payment_gateways_notices`, and refresh the page: ##### Test display of incompatible extensions 1. Install and activate the following three helper plugins: - [helper-plugin-1.zip](https://github.com/woocommerce/woocommerce-blocks/files/12701036/helper-plugin-1.zip) - [helper-plugin-2.zip](https://github.com/woocommerce/woocommerce-blocks/files/12701039/helper-plugin-2.zip) - [helper-plugin-3.zip](https://github.com/woocommerce/woocommerce-blocks/files/12701041/helper-plugin-3.zip) 2. Create a test page and add the Checkout block to it. 4. Open the settings sidebar, if not already open. 5. Verify that the incompatibility notice lists the `A โ Incompatible Extension`, `Coinbase`, `N โ Incompatible Extension `, `Paystack` and `Z โ Incompatible Extension` extensions: ##### Test closing of sidebar notice 1. Ensure that you executed the previous test case. 2. Dismiss the incompatibility sidebar notice by clicking on the X in the upper-right corner. 3. Refresh the page and verify that the incompatibility sidebar notice remains hidden.
Before:
|
After:
|