update testing instructions

This commit is contained in:
Luigi 2023-01-17 09:58:09 +01:00
parent 7fd3ca96bf
commit 12348a3a67
2 changed files with 36 additions and 0 deletions

View File

@ -62,4 +62,39 @@ Zip file for testing: [woocommerce-gutenberg-products-block.zip](https://github.
4. Ensure there's no conflict between the cancel 'x' icon and the chevron when dropdown options are selected. 4. Ensure there's no conflict between the cancel 'x' icon and the chevron when dropdown options are selected.
5. With the `Allow selecting multiple options?` set to `Multiple` test selecting all of the options and check if the chevron is correctly hidden. 5. With the `Allow selecting multiple options?` set to `Multiple` test selecting all of the options and check if the chevron is correctly hidden.
### Correctly detect compatible express payment methods. ([8201](https://github.com/woocommerce/woocommerce-blocks/pull/8201))
#### Highlight incompatible payment gateways using a sidebar notice
1. Add incompatible payment gateways with the C&C Blocks (e.g., Paypal, Klarna Payments). You will need to configure them to be detected and used by WooCommerce.
2. Create a new page and add the `Checkout Block`
3. Verify there is a notice in the sidebar displaying the list of incompatible gateways. The `make as default` & `sidebar compatibility` notices should be hidden while the `incompatible gateways` notice is displayed.
<img width="1295" alt="image" src="https://user-images.githubusercontent.com/14235870/209318806-4d3b0e16-bb97-4a51-8818-3529b0559be4.png">
4. Select each inner block in the Checkout Blocks' `List View` to ensure our notice is displayed for each one.
5. Dismiss the `incompatible gateways` notice by clicking the top right `X` button. The `make as default` & `sidebar compatibility` notices should be visible again.
<img width="1300" alt="image" src="https://user-images.githubusercontent.com/14235870/208722992-6d0237f2-5f6c-4514-83d5-66bbdb2333c0.png">
6. Do the same test from step 2 to 5 using the `Cart Block`
#### Detect compatible express payment gateways correctly
1. Install the [Payment Plugins for Stripe WooCommerce plugin](https://wordpress.org/plugins/woo-stripe-payment/)
2. Setup test mode in this plugin
3. Enable Google Pay & Apple Pay in this plugin
4. Create a new page and add the `Checkout Block`
5. Verify that Google and Apple Pay express payment methods aren't listed in the incompatible payment methods notice.
<img width="1025" alt="image" src="https://user-images.githubusercontent.com/14235870/212752494-3572b27b-9cde-4e2b-a4f6-2d4af3885c3e.png">
#### Highlight incompatible payment gateways within the `Payment Options Block`
1. If it's not done already, add incompatible payment gateways with the C&C Blocks (e.g., Paypal, Klarna Payments)
6. Create a new page and add the `Checkout Block`
7. Select the `Payment Options Block`, and check the list of available payment gateways under `Methods` in the sidebar. The incompatible payment gateways should be highlighted (i.e., `Incompatible with block-based checkout`)
<img width="1277" alt="image" src="https://user-images.githubusercontent.com/14235870/208877521-be381930-4933-445b-9aa8-a33c2290b749.png">

View File

@ -95,6 +95,7 @@ Release and roadmap notes available on the [WooCommerce Developers Blog](https:/
- Attribute, Rating and Stock filters: Dropdown indicator icon display fix. ([8080](https://github.com/woocommerce/woocommerce-blocks/pull/8080)) - Attribute, Rating and Stock filters: Dropdown indicator icon display fix. ([8080](https://github.com/woocommerce/woocommerce-blocks/pull/8080))
- Ensure the filter controls are consistently displayed in the editor. ([8079](https://github.com/woocommerce/woocommerce-blocks/pull/8079)) - Ensure the filter controls are consistently displayed in the editor. ([8079](https://github.com/woocommerce/woocommerce-blocks/pull/8079))
- Ensure the Checkout Totals and Checkout Order Summary blocks cannot be removed from the Checkout block. ([7873](https://github.com/woocommerce/woocommerce-blocks/pull/7873)) - Ensure the Checkout Totals and Checkout Order Summary blocks cannot be removed from the Checkout block. ([7873](https://github.com/woocommerce/woocommerce-blocks/pull/7873))
- Correctly detect compatible express payment methods. ([8201](https://github.com/woocommerce/woocommerce-blocks/pull/8201))
#### Documentation #### Documentation