此包包含用于 WordPress E2E 测试的测试插件和 mu-plugins,提供测试夹具和功能。E2E 测试本身已迁移到 Playwright,位于 /test/e2e/。
This package contains test plugins and mu-plugins used by E2E tests in WordPress.
Note: The E2E tests themselves have been migrated to Playwright and are now located in /test/e2e/.
/plugins/ – Test plugins used by E2E tests/mu-plugins/ – Must-use plugins for test environment configuration/assets/ – Test assets (images, etc.)These plugins and mu-plugins are automatically loaded in the test environment via wp-env. They provide test fixtures and functionality needed for various E2E test scenarios.
For information about writing E2E tests, see the E2E testing guide.
This is an individual package that’s part of the Gutenberg project. The project is organized as a monorepo. It’s made up of multiple self-contained software packages, each with a specific purpose. The packages in this monorepo are published to npm and used by WordPress as well as other software projects.
To find out more about contributing to this package or Gutenberg as a whole, please read the project’s main contributor guide.