WordPress / theme-review-action

Other
32 stars 10 forks source link

Block theme specific testing #25

Open StevenDufresne opened 3 years ago

StevenDufresne commented 3 years ago

Which block-based theme-specific tests are needed?

Ideas based on documentation: https://github.com/WordPress/gutenberg/tree/trunk/docs/how-to-guides/block-based-theme

StevenDufresne commented 3 years ago

Reopening this issue to add more information and test ideas.

carolinan commented 3 years ago

As I read the list of blockers and flags provided here https://make.wordpress.org/themes/2021/03/17/next-steps-on-themes-and-reviews/ non-core blocks are allowed.

For example, you may want to build a web shop with WooCommerce blocks. The blocks will error in the editor until the plugin is installed, and should show nothing on the front.

carolinan commented 3 years ago

The tutorial here is very outdated https://github.com/WordPress/gutenberg/tree/trunk/docs/how-to-guides/block-based-theme The theme.json file can not be validated until it is more stable. Planned changes: https://github.com/WordPress/gutenberg/issues/29891

I do feel like Gutenberg should provide the validation for this file 🤔