Skip to content

Update test coverage - #252

Open
dkotter wants to merge 8 commits into
developfrom
dev/test-coverage
Open

dkotter wants to merge 8 commits into
developfrom
dev/test-coverage

Conversation

@dkotter

@dkotter dkotter commented Nov 26, 2026

Copy link
Copy Markdown
Collaborator

Description of the Change

The plugin had three Cypress specs (four tests) and no PHP tests; phpunit and 10up/wp_mock were in require-dev with nothing using them. This PR moves E2E tests to Playwright, adds a PHPUnit integration suite on the WordPress core test suite inside wp-env, and updates the toolchain to Node 26, 10up-toolkit 7 and wp-env 12. A coverage audit then added tests for what the plugin actually does: the Media Kit page created on activation, the shipped patterns, and the Tabs blocks.

How to test the Change

Verify all tests pass on this PR

Changelog Entry

Developer - Migrate E2E tests from Cypress to Playwright, add PHPUnit integration tests, and update the development toolchain to Node 26 and 10up-toolkit 7.

Credits

Props @dkotter

Checklist:

@dkotter dkotter added this to the 1.4.0 milestone Nov 26, 2026
@dkotter dkotter self-assigned this Nov 26, 2026
@dkotter
dkotter requested a review from jeffpaul as a code owner November 26, 2026 02:10
@github-actions github-actions Bot added the needs:code-review This requires code review. label Nov 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs:code-review This requires code review.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants