Skip to content
This repository was archived by the owner on Feb 23, 2024. It is now read-only.

Commit 2699e4e

Browse files
committed
Update testing instructions for 5.9.0
1 parent 328cb2b commit 2699e4e

File tree

2 files changed

+35
-0
lines changed

2 files changed

+35
-0
lines changed

docs/testing/releases/590.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
## Testing notes and ZIP for release 5.9.0
2+
3+
Zip file for testing: [woocommerce-gutenberg-products-block.zip](https://github.com/woocommerce/woocommerce-gutenberg-products-block/files/7154664/woocommerce-gutenberg-products-block.zip)
4+
5+
## Feature plugin and package inclusion in WooCommerce
6+
7+
### Twenty Twenty: Adjust font styles for filter and product grid blocks ([4545](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/4545))
8+
9+
1. Activate Twenty Twenty
10+
2. Create a new page
11+
3. Add the column block (1/3 + 2/3) to the created page
12+
4. Add the _Active Product Filters_, _Filter Products by Price_, _Filter Products by Attribute_ & _Filter Products by Stock_ blocks to the 1/3 column
13+
5. Add the _All Products_ & _Products by Category_ blocks to the 2/3 column
14+
6. Check the font sizes of the elements in the editor
15+
7. Check the font sizes of the elements in the frontend
16+
17+
### Add extensibility point for extensions to filter payment methods ([4668](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/4668))
18+
19+
1. Make sure Check payments and Cash on delivery payment methods are activated and appear in the Checkout block
20+
2. Install this extension specifically made for testing: [woocommerce-payment-method-test.zip](https://github.com/woocommerce/woocommerce-gutenberg-products-block/files/7154980/woocommerce-payment-method-test.zip) - the code it includes is:
21+
```js
22+
import { registerPaymentMethodExtensionCallbacks} from '@woocommerce/blocks-registry';
23+
24+
registerPaymentMethodExtensionCallbacks( 'woocommerce-marketplace-extension',
25+
{
26+
cod: ( arg ) => { return false; },
27+
// this zipcode works only for Germany
28+
cheque: ( arg ) => { return arg.billingData.postcode === "12345";}
29+
}
30+
);
31+
```
32+
3. Go to the Checkout block
33+
4. Notice that Cash on delivery is no longer available
34+
5. Notice that Check payments are available only when the Country is Germany and the Postcode for Billing data is 12345

docs/testing/releases/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,4 @@ Every release includes specific testing instructions for new features and bug fi
4141
- [5.7.0](./570.md)
4242
- [5.7.1](./571.md)
4343
- [5.8.0](./580.md)
44+
- [5.9.0](./590.md)

0 commit comments

Comments
 (0)