3.6 KiB
3.6 KiB
Testing notes and ZIP for release 6.4.0
Zip file for testing: woocommerce-gutenberg-products-block.zip
Feature Plugin
Switch variables round in the error message of mustContain
validation function. (5155)
- Install the Simple Custom CSS and JS plugin and, inside its settings, add this JS code to the footer:
wc.blocksCheckout.__experimentalRegisterCheckoutFilters( 'my-test-extension', {
subtotalPriceFormat: ( value ) => 'test',
} );
- Visit the Cart or Checkout block and ensure the error message reads
Error: Returned value must include "<price/>", you passed "test"
- Change the code to
wc.blocksCheckout.__experimentalRegisterCheckoutFilters( 'my-test-extension', {
subtotalPriceFormat: ( value ) => '<price/>test',
} );
- Reload the page and verify the Cart and Checkout block loads correctly.
Lazy load missing translation files. (5112)
- Switch the site language to Spanish.
- Update the translations via
WP Admin → Dashboard → Translations → Update Translations
. - Create a test page, add the Checkout block and save it.
- Ensure that the "Terms and conditions" text in the editor is in Spanish.
- Look up the frontend and verify that the "Terms and conditions" text is in Spanish (see screenshot).
- Switch the site language to German and repeat steps 2. until 5. (texts should then appear in German)
Checkout Terms Block: Fix Terms and Conditions checkbox position in editor. (5191)
- Go to the post editor.
- Add Checkout block.
- Select Terms and Conditions child block.
- Activate
Require checkbox
display option. - Confirm that the checkbox is aligned to the top of the paragraph.
Fix manual entry within Quantity Inputs. (5197)
- Add a product to your cart.
- Go to a page with the Cart block.
- Try typing a quantity into the line item.
- Totals should update.
- Try typing a letter. Input should be ignored and reset to
1
.
Feature plugin and package inclusion in WooCommerce
Feature gate WC Block Templates to WC v6.0.0. (5210)
- Install and activate version 11.9.1 of the Gutenberg plugin.
- Install and activate a FSE enabled theme, such as the TT1 Blocks theme.
- In WC 5.9, check that block templates are not loading. You can verify that going to a single product page (ie: Cap) and verify that contents don't appear twice.
- Also check the templates are not loading in the Site Editor (Appearance > Editor > Templates > General templates -- if this last folder doesn't exist, that means this is testing well).