Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## hot-patch #1643 +/- ##
=============================================
+ Coverage 92.72% 92.85% +0.12%
=============================================
Files 58 58
Lines 1526 1511 -15
Branches 420 419 -1
=============================================
- Hits 1415 1403 -12
Misses 103 103
+ Partials 8 5 -3 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
7cf4436 to
5e833f6
Compare
a2ec4ff to
40c557b
Compare
a98cc72 to
2d3565a
Compare
5bf4b02 to
3bfbdf7
Compare
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.
Modern Restructuring
This branch modernises the development toolchain, replaces the legacy TestCafe E2E suite with Playwright, and brings the codebase up to date with WordPress 7.0 and PHP 8.5.
Changes
Add Playwright E2E tests
Replaces the legacy TestCafe-based
tests/e2e/suite with a new Playwright test suite undertests/playwright/. Tests are split into two projects —core/(standard permalinks, port 8702) andpermalinks/(pretty permalinks, port 8703) — and cover PDF shortcode rendering, entry list/detail views, PDF settings (general, appearance, advanced, notifications, templates), font manager, template manager, and PDF access controls. A dedicated GitHub Actions workflow (.github/workflows/playwright-e2e.yml) runs the suite on CI.Modernize toolchain and update dependencies
tools/directory: PHP-Scoper config moves from.php-scoper/totools/php-scoper/, PHPUnit config and fixtures move fromtests/phpunit/totools/phpunit/, PHPCS config moves totools/phpcs/, and release scripts move totools/release/.wp-env.jsonwith four dedicated environment configs (tools/wp-env/development.json,integration.json,e2e.json,e2e-permalinks.json) each on their own port (8700–8703)babel.config.jsandphpunit.xml.distin favour of config files undertools/tools/potomatic/scripts for automated translation generationCLAUDE.mdto document all new commands and environment setupUpdate for WordPress 7.0 and PHP 8.5 compatibility
Updates PHPUnit tests and admin styles for compatibility with WordPress 7.0 and PHP 8.5.
Fix various bugs
@sincetags carried over from hot-patch codeAdd translator comments and update translations
Adds
/* translators: */comments to all translatable strings that reference placeholders (%s,%1$s, etc.), resolving all warnings produced bywp i18n make-pot. Updates.po/.mofiles and adds.l10n.phpfiles for all bundled locales; moves language files fromsrc/assets/languages/tolanguages/at the plugin root.