From 8aa369f229ac5260d587d3eb01e482887a4608f2 Mon Sep 17 00:00:00 2001 From: kmanijak Date: Wed, 1 Mar 2023 07:46:27 +0100 Subject: [PATCH] Move testing steps woocommerce/woocommerce-blocks#8438 to experimental section (https://github.com/woocommerce/woocommerce-blocks/pull/8580) --- .../testing/releases/970.md | 62 +++++++++---------- 1 file changed, 31 insertions(+), 31 deletions(-) diff --git a/plugins/woocommerce-blocks/docs/internal-developers/testing/releases/970.md b/plugins/woocommerce-blocks/docs/internal-developers/testing/releases/970.md index 99e1cfbbe99..1b483d900ce 100644 --- a/plugins/woocommerce-blocks/docs/internal-developers/testing/releases/970.md +++ b/plugins/woocommerce-blocks/docs/internal-developers/testing/releases/970.md @@ -162,37 +162,6 @@ The content displayed on the frontend is dynamically changed depending on the pr ![Untitled-2023-02-02-2008](https://user-images.githubusercontent.com/3966773/217264284-03f0254e-7981-4c5f-a368-270d52995245.png) -### Simplify unused Add to Cart button form placeholder for grouped product ([8438](https://github.com/woocommerce/woocommerce-blocks/pull/8438)) - -1. Go to Editor -2. Edit the Product Catalog template -3. Add All Products block -4. Enter the "edit" mode of All Products block by clicking a pencil button -5. Remove "Add to Cart Button" block -6. Add "Add to Cart" block - THESE ARE TWO SEPARATE BLOCKS. IT'S ABOUT "ADD TO CART" BLOCK! -7. By default the "Display form elements" toggle should be disabled -**Expected**: Button looks like on a pictures above -8. Save the changes and check the frontend as well - -9. Enter the edit mode of "Add to Cart" button (there's a [bug that block cannot be clicked](https://github.com/woocommerce/woocommerce-blocks/issues/8439). To enter the edit mode, please open a "list view" of blocks and choose "Add to Cart" from there) -10. Enable "Display form elements" toggle -**Expected**: Button looks like on a pictures above (while it changes to form for other types of products: simple, variable) -11. Save the changes and check the frontend as well - -#### Editor - Grouped product is the middle one on each image. Other products are included for comparison - -| Case | Before | After | -| ------ | ----- |----- | -| Display form elements: disabled | image | image | -| Display form elements: enabled | image | image | - -#### Frontend - Grouped product is the middle one on each image. Other products are included for comparison - -| Case | Before | After | -| ------ | ----- |----- | -| Display form elements: disabled | image | image | -| Display form elements: enabled | image | image | - ### Use the @wordpress/components instead of wordpress-components while in editor ([8432](https://github.com/woocommerce/woocommerce-blocks/pull/8432)) Prerequisites: @@ -672,3 +641,34 @@ Make sure Product Catalog template is cleared out to the default state. To achie Video presents the replacement of a Classic Template on two templates: Product Catalog and Products by Category