-
Notifications
You must be signed in to change notification settings - Fork 843
mu-wpcom-plugin: Add basic E2E tests #46463
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Add E2E test infrastructure for the mu-wpcom-plugin following the established patterns from other Jetpack plugins. Includes: - Playwright configuration extending e2e-commons - Basic activation tests verifying plugin is active and admin pages load - Local development config for testing against dev Docker environment 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <[email protected]>
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <[email protected]>
|
Thank you for your PR! When contributing to Jetpack, we have a few suggestions that can help us test and review your patch:
This comment will be updated as you work on your PR and make changes. If you think that some of those checks are not needed for your PR, please explain why you think so. Thanks for cooperation 🤖 Follow this PR Review Process:
If you have questions about anything, reach out in #jetpack-developers for guidance! Mu Wpcom plugin:
If you have any questions about the release process, please ask in the #jetpack-releases channel on Slack. |
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <[email protected]>
|
Are you an Automattician? Please test your changes on all WordPress.com environments to help mitigate accidental explosions.
Interested in more tips and information?
|
Code Coverage SummaryThis PR did not change code coverage! That could be good or bad, depending on the situation. Everything covered before, and still is? Great! Nothing was covered before? Not so great. 🤷 |
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <[email protected]>
- Use @wordpress/e2e-test-utils-playwright directly instead of e2e-commons fixtures - Simplify playwright config to not require Jetpack-specific setup - Remove local test files (no longer needed) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <[email protected]>
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <[email protected]>
Allow E2E tests to run without Jetpack plugin installed by checking if Jetpack is available before activating it or deactivating modules. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <[email protected]>
Summary
@wordpress/e2e-test-utils-playwrightfor standalone testing (no Jetpack dependency)Testing instructions
pnpm installfrom the monorepo rootpnpm jetpack docker uppnpm jetpack docker wp plugin activate jetpack-mu-wpcom-plugincd projects/plugins/mu-wpcom-plugin/tests/e2epnpm installpnpm playwright test --config=playwright.config.tsDoes this pull request change what data or activity we track or use?
No, this PR only adds E2E tests and does not change any data tracking or privacy-related functionality.
🤖 Generated with Claude Code