block-unit-test icon indicating copy to clipboard operation
block-unit-test copied to clipboard

Preparing WordPress themes for Gutenberg with the Block Unit Test WordPress Plugin

Results 17 block-unit-test issues
Sort by recently updated
recently updated
newest added

It seems that this plugin is abandoned. Is there an alternative one for testing the newest blocks and the ones with updated markup (e.g. Button)? Thanks

Not sure if anyone reads this anymore; but some of the gallery blocks (not all) now display as invalid block content in the block editor. I understand this is a...

This is based on https://github.com/WordPress/gutenberg/pull/34843 which has been merged and is included in wordpress 5.9 I've tested it and the wide-aligned blocks will appear on the page. Additional background at...

Currently, blocks that have wide and full align attributes[ are conditionally loaded by detecting](https://github.com/godaddy-wordpress/block-unit-test/blob/df9e85a118d41a7b61270023a236fcb8adfeee21/class-block-unit-test.php#L669)`get_theme_support( 'align-wide');` Since [WP 5.8](https://make.wordpress.org/core/2021/06/29/on-layout-and-content-width-in-wordpress-5-8/); support for wide and full align blocks can be added through theme.json...

The attributes and HTML used for Pull quote blocks in core have changed; ref https://github.com/skorasaurus/block-unit-test/issues/1 I also moved a couple blocks so that the ones that have wide attributes, are...

Image blocks in Gutenberg now have different markup; I've added the blocks with the new markup. I did keep the existing image blocks. some image blocks, depending on the align...

not just php 8 compatibility, but also composer 2.0 support. https://github.com/Dealerdirect/phpcodesniffer-composer-installer/releases https://github.com/PHPCompatibility/PHPCompatibilityWP/releases working locally (so far) on my system.

Hi Rich I've been testing my theme with Block Unit test and found a few more things I would like to be able to test. Columns - the editor allows...

enhancement

Some URL's seemed to be outdated, switched from github.com/that-plugin-company, github.com/that-plugin-company or github.com/richtabor to https://github.com/godaddy.

The test page is created once and only updated with the content included in the code when the plugin is updated. However there are 2 issues with the way this...