From 44be9975feab5294a37246d71202399e98ca9346 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Albert=20Juh=C3=A9=20Lluveras?= Date: Thu, 16 Nov 2023 16:25:34 +0100 Subject: [PATCH] Update Smoke Testing docs to reference Product Collection block and Cart/Checkout templates (#11713) * Update smoke testing docs to mention the Product Collection block instead of the Products block * Mention that Cart and Checkout blocks need to be added to the template instead of the pages * Update docs/internal-developers/testing/smoke-testing.md Co-authored-by: Karol Manijak <20098064+kmanijak@users.noreply.github.com> --------- Co-authored-by: Karol Manijak <20098064+kmanijak@users.noreply.github.com> --- .../testing/smoke-testing.md | 36 +++++++++---------- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/docs/internal-developers/testing/smoke-testing.md b/docs/internal-developers/testing/smoke-testing.md index 251f4d00216..92f5d038ecc 100644 --- a/docs/internal-developers/testing/smoke-testing.md +++ b/docs/internal-developers/testing/smoke-testing.md @@ -113,7 +113,7 @@ Note: some blocks might fail to render because they are based on products having -### 2. Create a page with the Products block, and filter blocks, setup to test that functionality in isolation. Using the columns block here too is a good idea to keep things organized +### 2. Create a page with the Product Collection block, and filter blocks, setup to test that functionality in isolation. Using the columns block here too is a good idea to keep things organized
You can copy and paste (Ctrl+Shift+V) the following code into a new page to add all the blocks (click): @@ -127,7 +127,7 @@ Note: some blocks might fail to render because they are based on products having -
+
@@ -136,8 +136,8 @@ Note: some blocks might fail to render because they are based on products having

Filter by attribute

- -
+ +
@@ -146,8 +146,8 @@ Note: some blocks might fail to render because they are based on products having

Filter by stock status

- -
+ +
@@ -156,8 +156,8 @@ Note: some blocks might fail to render because they are based on products having

Filter by rating

- -
+ +
@@ -167,22 +167,22 @@ Note: some blocks might fail to render because they are based on products having -
+
-
-
- +
+
+ - + - + - - + + @@ -197,14 +197,14 @@ Note: some blocks might fail to render because they are based on products having

-
+
```
-### 3. Add the Cart and Checkout block to the relevant WooCommerce pages +### 3. Add the Cart and Checkout block to the relevant templates ## Editor Tests