Repository navigation
ci: install the plugins of the e2e tests after wp-env starts - #1432
Merged
Merged
Conversation
Co-Authored-By: Claude Mythos 5.2 <noreply@anthropic.com>
Contributor
pirate-bot
approved these changes
Dec 2, 2026
Contributor
There was a problem hiding this comment.
🟢 Approved
The new step installs and activates both plugins after wp-env start and before the Playwright tests, which fixes the reported failure.
Validation details
- Files reviewed: 1/1 changed files.
- The step runs in
tests-cli, the same site that theafterStartscript sets up and the tests use. - The Classic Editor and Elementor specs run after the step. A search of the specs and workflows found no other missing plugin.
- A search of earlier issues and fix commits found no related bug.
Untested areas
- The CI run of the new step was not observed. GitHub Actions results are not available here.
- The cause of the lost plugins in
wp-env11.0.0 on the runner was not found. - The variant pass did not settle these places, where the fixed cause may still reach:
.wp-env.json:19— unverified: Twenty Twenty-One and permalink configuration remain dependent on afterStart. Issue #1431 explicitly reports both surviving (/workspace/review/history-pack/issues/1431.md:10), but …tests/e2e/specs/onboarding.spec.ts:8-16,26-29— unverified: onboarding rewrites visualizer_fresh_install but first requires its existing options field. Activation deliberately does not create this option under TI_E2E_TESTING (classes/Visual…bin/run-e2e-tests-default.sh:4-5— unverified: this wrapper starts wp-env and immediately runs Playwright without reinstalling plugins; no current workflow invocation or matching runner failure was established.- not reached: bin/security-audit.sh:101-104 downstream PoC dependencies
classes/Visualizer/Module/Setup.php:237-239— unverified: visualizer_fresh_install is another afterStart prerequisite not restored by the new step, and activation skips creating it under TI_E2E_TESTING; no evidence establishes that the re…package.json:22,30— unverified: this launcher starts wp-env and immediately runs Playwright without reinstalling plugins. No workflow references it; whether the runner-specific loss reaches this launcher is unkno…
🤖 Automated review · run code-review-agent_6b0fddd7901169.02535024.
🤖 Review agent — review posted ✅ on 2ffa5cf6 · approved · 0 findings · 6 min
Run code-review-agent_6b0fddd7901169.02535024 · trail
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.
The Playwright job fails on each branch because the test site on the runner has no
classic-editorandelementorplugins. The workflow now installs both plugins in a step afternpx wp-env start.What changed
wp plugin install classic-editor elementor --activatein thetests-clicontainer before the tests start.Note
The
afterStartscript of.wp-env.jsonstays. It sets the theme and the permalinks, and it installs the plugins for a localwp-env start.Issue: #1431
🤖 Generated with Claude Code