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

Commit 5cddaae

Browse files
committed
add testing notes for release
1 parent e03d675 commit 5cddaae

File tree

2 files changed

+89
-0
lines changed

2 files changed

+89
-0
lines changed

docs/testing/releases/340.md

Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,88 @@
1+
## Testing notes and ZIP for release 3.4.0
2+
3+
Zip file for testing: [woocommerce-gutenberg-products-block.zip](https://github.com/woocommerce/woocommerce-gutenberg-products-block/files/5220435/woocommerce-gutenberg-products-block.zip)
4+
5+
## The following are changes that only impact Feature Plugin release.
6+
7+
### Ensure shopper saved card is used as default payment method (default was being overwritten in some circumstances). ([3131](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/3131))
8+
9+
- Set up checkout page using block.
10+
- Enable BACS and Stripe payment methods (only, though may reproduce with other combinations). Note BACS needs to be earlier in the order than Stripe (drag handle in `WooCommerce > Settings > Payments`).
11+
- Complete a purchase using a new payment method, Stripe CC, check `Save payment information to my account for future purchases`.
12+
- Add something to cart, proceed to checkout.
13+
- Leave the default selected payment method - i.e. the first saved payment method. Submit checkout.
14+
15+
Should always complete the purchase with the correct payment method - the one visibly selected when user clicks submit, i.e. the saved card.
16+
17+
Please also test a variety of other payment method scenarios and ordering - with / without saved cards (are there any other gateways that support saved payment methods?), with more/less gateways available, in different orders, and with dynamically-available gateways (COD can depend on shipping option). In all cases confirm the following:
18+
19+
- There is a payment method tab selected by default.
20+
- Submitting checkout without touching payment section uses the correct payment method (i.e. saved card, payment method tab).
21+
- Selecting a non-default saved card (from the default) works correctly, uses correct card/token (may need to check network requests to check token).
22+
- Selecting a non-default payment method uses correct method.
23+
- Saving a payment method (card) works and is available for use next checkout with that account.
24+
- Payment tab order should match the configured order.
25+
26+
### Fix Cart & Checkout sidebar layout broken in some themes. ([3111](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/3111))
27+
28+
1. Install and activate [Artisan](https://woocommerce.com/products/artisan/) or [Threads](https://woocommerce.com/products/threads/) theme.
29+
2. Go to the Cart or Checkout blocks and verify the sidebar is shown on the right instead of below.
30+
31+
_Before:_
32+
![image](https://user-images.githubusercontent.com/3616980/92132121-0ab46e00-ee07-11ea-8418-0cd59b3b2d04.png)
33+
34+
_After:_
35+
![image](https://user-images.githubusercontent.com/3616980/92132043-f2dcea00-ee06-11ea-895b-afda511e36f8.png)
36+
37+
38+
### Use wp_login_url instead of hardcoding login path. ([3090](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/3090))
39+
40+
1. In an incognito window and add some products and then go to Checkout.
41+
2. See the login URL, it should take you to `wp-login.php?redirect_to=[CURRENT_URL]`
42+
3. Enable checkout for users only from WooCommerce -> Settings -> Accounts -> uncheck `Allow customers to place orders without an account`.
43+
4. Visit Checkout again, the link should do the same.
44+
5. Install and activate https://wordpress.org/plugins/change-wp-admin-login/.
45+
6. Visit Settings -> Permalinks and change the login URL to something else.
46+
7. Do 1,2,3 and 4 again, confirm that your value is respected.
47+
48+
### Fix an issue with COD not showing when first enabled. ([3088](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/3088))
49+
50+
1. You can either test this on a new website, or delete `woocommerce_cod_settings` option from `wp_options` table.
51+
2. Enable Cash on Delivery, don't set it up, leave everything as is, it should work with all shipping methods.
52+
3. Create an order and enter a valid address that has a shipping method with it.
53+
4. You will see COD as a payment option.
54+
5. Go to COD settings, select a value for "Enable for shipping methods".
55+
6. Save the settings.
56+
7. Delete what was selected to return the field to its initial state.
57+
8. Visit checkout again, COD is still working.
58+
59+
- Fix JS console error when COD is enabled and no shipping method is available. ([3086](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/3086))
60+
61+
1. Enable COD and limit it to a certain shipping method type.
62+
2. Add that method to a certain address.
63+
3. Select another address on the Checkout block, you shouldn't see an error with `selectedMethod is undefined` on the console.
64+
65+
### Create DebouncedValidatedTextInput component. ([3108](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/3108))
66+
67+
Smoke test the Checkout block:
68+
69+
* create a new page and add the Checkout block, change some attributes in the sidebar and verify changes take place
70+
* verify the Checkout block works in the frontend: try changing your address, picking a different shipping and payment method, etc.
71+
* verify you can make a purchase.
72+
73+
## The following impacts testing for both feature plugin and when included in WooCommerce Core.
74+
75+
### Fix product reviews schema date fields to use new (WP 5.5) `date-time` format. ([3109](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/3109))
76+
77+
- Add some reviews for products.
78+
- Add an All Reviews block to post or page content.
79+
- Verify the frontend rendering of the block shows the expected dates for the reviews.
80+
81+
### Merge ProductPrice atomic block and component. ([3065](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/3065))
82+
83+
Testing this change basically means verifying there are no regressions:
84+
85+
1. (For feature plugin testing only) Load the Cart and Checkout blocks. **_Verify_** product prices (default prices and on sale prices) are still rendered correctly.<br><img src="https://user-images.githubusercontent.com/3616980/91466321-3d9eb500-e88f-11ea-9a69-554c149a4163.png" alt="" width="187" />
86+
2. Add the All Products block in a page. **_Verify_** there are no regressions with the Product Price block.
87+
3. Repeat the verifications above using a small viewport browser.
88+
4. Repeat the verifications above using with the [Seedlet theme](https://wordpress.org/themes/seedlet/).

docs/testing/releases/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,4 @@ Every release includes specific testing instructions for features and bug fixes
1010
- [3.1.0](./310.md)
1111
- [3.2.0](./320.md)
1212
- [3.3.0](./330.md)
13+
- [3.4.0](./340.md)

0 commit comments

Comments
 (0)