Repository navigation
chore: add PHPUnit, Jest, and Playwright tests with CI workflows. - #57
Merged
Merged
Conversation
Align wp-env and wp-scripts with blockparty-tabs and move release scripts under tests/bin.
Replace legacy ESLint config, fix quality-js workflow steps, drop missing wp-env plugin, remove duplicate block wrapper in accordion-item edit, and harden Playwright inserter assertions for WP 6.4.
firestar300
force-pushed
the
issue/93930
branch
from
October 2, 2026 13:23
6c07f39 to
bd6eaf4
Compare
Editor bundles from @wordpress/scripts 32 depend on a core script handle that is missing on 6.4–6.5, which prevented block registration in E2E.
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 31a6a8f. Configure here.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Align wp-env and wp-scripts with blockparty-tabs and move release scripts under tests/bin.
Note
Medium Risk
The react-jsx-runtime polyfill and always-serialized
data-allow-multipleaffect editor loading and frontend accordion config on supported WP versions; test/CI changes are mostly isolated from production sites.Overview
Adds a full automated test stack and CI: PHPUnit (wp-env on port 8889), Jest for icon-block helpers, and Playwright E2E for editor insertion and frontend accordion behavior, plus GitHub workflows for PHP/JS/E2E and a coverage artifact job.
Release and dev tooling moves bump/version checks to
tests/bin/(bump.shsupports patch/minor/major;check-release-version.shreplaces the old PR workflow inline tag check). wp-env is split into dev (.wp-env.json+initialize.sh) and test (.wp-env.test.json), with new npm scripts, upgraded@wordpress/scripts/Node 20+, flat ESLint config, and Composer PHPUnit deps (PHP 8.3/8.4).Runtime fix for older WordPress: webpack emits
build/react-jsx-runtime.jsandregister_react_jsx_runtime()registers it when core lacks the handle (WP before 6.6), so editor blocks still load.Smaller product tweaks: accordion save always outputs
data-allow-multiple="true|false"(was omitted when true), summary toolbar icon uses an inline SVG instead of@beapi/icons, and widespread JS formatting only.Reviewed by Cursor Bugbot for commit 7578d84. Bugbot is set up for automated code reviews on this repo. Configure here.