-
Notifications
You must be signed in to change notification settings - Fork 219
Conversation
The release ZIP for this PR is accessible via:
Script Dependencies ReportThe
This comment was automatically generated by the TypeScript Errors Report
🎉 🎉 This PR does not introduce new TS errors. |
Size Change: 0 B Total Size: 1.1 MB ℹ️ View Unchanged
|
07ecc19
to
b8c5426
Compare
9bb4dd2
to
7fda740
Compare
cb31fee
to
acc8358
Compare
…ocks into add/enable-blockified-templates-as-default
…ocks into add/enable-blockified-templates-as-default
…github.com/woocommerce/woocommerce-blocks into add/enable-blockified-templates-as-default
cf7c11f
to
504507f
Compare
Hi @gigitux - Can you please clarify that in the testing, I don't need to activate the WooCommerce Blocks stand alone plugin correct? The instructions didn't state this so I wanted to make sure. |
Yes, it is not necessary to activate WC Blocks. I updated the testing instructions! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All tests worked as described. I think we should definitely get a second pair of eyes though.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the testing instructions @gigitux this works as expected, and I can't see anything of concern in the code changes either.
* Add E2E tests * add comment * set worker to 1 * try now * add beforeAll and afterAll hook * restore woocommerce-gutenberg-products-block.php * enable plugin with .wp-env configuration * remove waitForNetworkIdle * Products block: Add e2e tests (#9577) * migrate classic block to Playwright * fix can be inserted more than once tests * migrate classic block to Playwright * fix command * remove old tests * improve E2E tests * skip test * Products block: add E2E pw tests * Add E2E tests * fix E2E test * test now * try now * rename path * set one worker * try now * try now * try now * set 1 worker
This PR breaks E2E tests, so there are serial follow-up PRs to fix them:
Please, review them as well!
The goal of this PR is to render the new blocified templates, only when the user:
and don't have a customized template.
In this table, you can see the expected behavior for the different cases:
Fixes #8209
Testing
it is not necessary to activate WC Blocks.
Download zips:
Install the current version of WC Core from wp.org
Build of WooCommerce Core that contains a version of WC Blocks built with this PR. woocommerce.zip
Please, don't rename the name of the zip.
For convenience, in the testing instructions:
pre-update package
for the plugin installed via wp.org.after-update package
for the build of WooCommerce Core that contains a version of WC Blocks built with this PR.User Facing Testing
Test 1:
after-update package
.Product Catalog
,Product Search Results
,Products by Category
.Products by Tag
andSingle Product
are blockified.Test 2:
after-update package
.Product Catalog
,Product Search Results
,Products by Category
,Products by Tag
andSingle Product
are blockified.Test 3:
pre-update package
.Product Catalog
,Product Search Results
,Products by Category
,Products by Tag
andSingle Product
renders the classicWooCommerce Product Grid Block
.after-update package
.wp_option
there is a keywc_blocks_use_blockified_product_grid_block_as_template
set tono
.Product Catalog
,Product Search Results
,Products by Category
,Products by Tag
andSingle Product
renders the classicWooCommerce Product Grid Block
.wc_blocks_use_blockified_product_grid_block_as_template
and the keywc_blocks_version
from the database and remove the plugin.Test 4:
pre-update package
.after-update package
.wp_option
there is a keywc_blocks_use_blockified_product_grid_block_as_template
set toyes
.Product Catalog
,Product Search Results
,Products by Category
,Products by Tag
andSingle Product
are blockified.wc_blocks_use_blockified_product_grid_block_as_template
and the keywc_blocks_version
from the database and remove the plugin.WooCommerce Visibility
Performance Impact
Changelog