* generating changeset for pull request

* generating changeset for pull request

* tweak wording - testing instructions are focused on new features

* testing instructions (tbc) for 3.7.0

* link in 3.7.0

* add instructions for checkout signup

* 3.7.0 changelog

* Add missing doc links to TOC for release testing notes.

* fix typo in "replace"

Co-authored-by: Albert Juhé Lluveras <contact@albertjuhe.com>

* add testing instructions for various issues fixed in 3.7

* Bumping version strings to new version.

Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Rua Haszard <rua.haszard@automattic.com>
Co-authored-by: Darren Ethier <darren@roughsmootheng.in>
Co-authored-by: Albert Juhé Lluveras <contact@albertjuhe.com>
This commit is contained in:
github-actions[bot] 2020-10-30 09:38:18 +13:00 committed by GitHub
parent 01132107a4
commit f4eeb5d0c6
6 changed files with 112 additions and 18 deletions

View File

@ -0,0 +1,76 @@
## Testing notes and ZIP for release 3.7.0
Zip file for testing: [woocommerce-gutenberg-products-block.zip](https://github.com/woocommerce/woocommerce-gutenberg-products-block/files/5220435/woocommerce-gutenberg-products-block.zip)
## The following changes affect the feature plugin only.
### Allow shoppers to sign-up for an account from the Checkout block. ([3331](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/3331))
Merchants can now enable shoppers to sign up for a user account when completing purchase via the Checkout block. This feature requires WooCommerce 4.7 or newer and the Checkout block.
0. Ensure you can see emails from your test site (e.g. new customer account notification email).
1. Ensure your store is running WooCommerce 4.7 RC or newer.
1. Install and activate WooCommerce Blocks 3.7 or newer.
2. Ensure checkout page uses the checkout block replace the checkout shortcode (if used). Ensure you have a valid payment method set up.
3. Log out of your store user account if necessary (or use an incognito window). Add something to cart and proceed to checkout block page.
3. Enter an email address and complete the form.
3. Check the `Create an account` checkbox.
2. Complete & submit checkout.
1. Find the `Your {store} account has been created!` email. Copy the `Click here to set your new password.` url.
- Link should look something like this: `http://localhost:8333/my-account/lost-password/?action=newaccount&key=6lye4PPX11pbjWPJozSR&login=bob`
4. In an incognito window, or after logging out, navigate to set password url.
6. Should see reset password form (2 password fields) with `Set password` title.
7. Reset the account password and confirm the customer account and password are all correct.
See also [related testing instructions in WooCommerce Core](https://github.com/woocommerce/woocommerce/wiki/Release-Testing-Instructions-WooCommerce-4.7#improvements-to-my-account--lost-password-endpoint).
### Fix 3D secure payment errors. ([3272](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/3272))
1. Install Stripe payment gateway and set it up.
2. Add products to the cart and go to a page with the Checkout block.
3. Place an order using Stripe with the card number `4000 0027 6000 3184` (it will open an authentication modal).
4. Click Cancel or fail the authentication.
5. Verify only one error is displayed, inside the payment methods step.
6. Without modifying the payment number, click on `Place order` again and verify the authentication modal appears again and you can complete the order.
### Correctly process orders with $0 total (e.g. via coupon) in Checkout block. ([3298](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/3298))
1. Add a $0 product to your cart and checkout. Here are two ways to set up a $0 order:
- Configure a "100% off" coupon and use it.
- Set the price for product(s) to $0 (and only add those products to cart).
2. Complete payment and submit the order.
3. View order in back end.
3. In the same user/browser session as the first order, repeat another $0 order and submit.
3. View orders in back end and confirm both orders are present and correct.
### Respect Enable Taxes setting for checkout block taxes display. ([3291](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/3291))
1. Enable taxes and set up a tax rate.
2. Set these tax options:
- `Display prices in the shop: Excluding tax`
- `Display prices during cart and checkout: Including tax`
3. Add items to the cart.
4. View the Checkout block. Tax component should be visible and show tax amount.
5. Disable taxes: `WooCommerce > Settings > General > Enable taxes: [unchecked]`.
6. View the Checkout block. Tax component should not be displayed, no taxes should be included in total. Note you may need to refresh the Checkout page if tax values are cached.
### Improve layout of Cart block line item quantity selector & price on smaller screens. ([3299](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/3299))
1. Add items to cart with a cost that has 3 leading digits.
1. Go to a page with a Cart block.
1. Reduce the viewport and check how the price behaves below 320px width.
1. View Cart block in various screen sizes and devices and ensure that line items look and function correctly.
## The following changes affect feature plugin and WooCommerce package.
### Standardise & refactor colors scss to align with Gutenberg colors and WooCommerce brand. ([3300](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/3300))
Test all blocks in editor/frontend and verify there are no evident issues with its display (layout completely broken or colors that are not correctly assigned). You can copy & paste [this gist](https://gist.github.com/Aljullu/d9c76ed510ae6973bd41dcc4184e8eb2) into the editor to automatically add all blocks. You might need to paste it with <kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>V</kbd> so styles are removed and the editor can transform it into blocks.
### Show current selected attributes when re-edit Products by Attribute block. ([3185](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/3185))
1. Add a Products by Attribute block.
2. Select some attributes and click on Done.
3. Click on the pencil icon to edit the block again.
4. Confirm your existing attributes are selected by default.

View File

@ -1,15 +1,16 @@
Every release includes specific testing instructions for features and bug fixes added. This is a list of the available release testing instruction docs:
Every release includes specific testing instructions for new features and bug fixes (if applicable). This is a list of the available release testing instruction docs:
- [2.6.0](./260.md)
- [2.6.1](./261.md)
- [2.7.0](./270.md)
- [2.7.1](./271.md)
- [2.8.0](./280.md)
- [2.9.0](./290.md)
- [3.0.0](./300.md)
- [3.1.0](./310.md)
- [3.2.0](./320.md)
- [3.3.0](./330.md)
- [3.4.0](./340.md)
- [3.5.0](./350.md)
- [3.6.0](./360.md)
- [2.6.0](./260.md)
- [2.6.1](./261.md)
- [2.7.0](./270.md)
- [2.7.1](./271.md)
- [2.8.0](./280.md)
- [2.9.0](./290.md)
- [3.0.0](./300.md)
- [3.1.0](./310.md)
- [3.2.0](./320.md)
- [3.3.0](./330.md)
- [3.4.0](./340.md)
- [3.5.0](./350.md)
- [3.6.0](./360.md)
- [3.7.0](./370.md)

View File

@ -2,7 +2,7 @@
"name": "@woocommerce/block-library",
"title": "WooCommerce Blocks",
"author": "Automattic",
"version": "3.7.0-dev",
"version": "3.7.0",
"description": "WooCommerce blocks for the Gutenberg editor.",
"homepage": "https://github.com/woocommerce/woocommerce-gutenberg-products-block/",
"keywords": [

View File

@ -4,7 +4,7 @@ Tags: gutenberg, woocommerce, woo commerce, products, blocks, woocommerce blocks
Requires at least: 5.3
Tested up to: 5.5
Requires PHP: 7.0
Stable tag: 3.7.0-dev
Stable tag: 3.7.0
License: GPLv3
License URI: https://www.gnu.org/licenses/gpl-3.0.html
@ -85,6 +85,23 @@ Release and roadmap notes available on the [WooCommerce Developers Blog](https:/
== Changelog ==
= 3.7.0 - 2020-10-29 =
#### Enhancements
- Allow shoppers to sign-up for an account from the Checkout block. ([3331](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/3331))
- Standardise & refactor colors scss to align with Gutenberg colors and WooCommerce brand. ([3300](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/3300))
#### Bug Fixes
- Fix PHP 8 error when argument is not invocable in AssetsDataRegistry::Add_data. ([3315](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/3315))
- Improve layout of Cart block line item quantity selector & price on smaller screens. ([3299](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/3299))
- Correctly process orders with $0 total (e.g. via coupon) in Checkout block. ([3298](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/3298))
- Respect Enable Taxes setting for checkout block taxes display. ([3291](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/3291))
- Fix 3D secure payment errors. ([3272](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/3272))
- Show current selected attributes when re-edit Products by Attribute block. ([3185](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/3185))
= 3.6.0 - 2020-10-12 =
#### Bug Fixes

View File

@ -95,7 +95,7 @@ class Package {
NewPackage::class,
function ( $container ) {
// leave for automated version bumping.
$version = '3.7.0-dev';
$version = '3.7.0';
return new NewPackage(
$version,
dirname( __DIR__ )

View File

@ -3,7 +3,7 @@
* Plugin Name: WooCommerce Blocks
* Plugin URI: https://github.com/woocommerce/woocommerce-gutenberg-products-block
* Description: WooCommerce blocks for the Gutenberg editor.
* Version: 3.7.0-dev
* Version: 3.7.0
* Author: Automattic
* Author URI: https://woocommerce.com
* Text Domain: woo-gutenberg-products-block