Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Nov 19, 2025

What?

Addresses confusion about why e2e tests don't run when Gutenberg plugin is disabled.

Why?

The PR modifies .wp-env.json to test WP trunk without Gutenberg ("plugins": []), but this prevents e2e tests from running since they require Gutenberg features to be present.

How?

No code changes. Clarified in comments that e2e tests cannot run without Gutenberg loaded as a plugin.

The current configuration:

{
  "core": "WordPress/WordPress",
  "plugins": []
}

Creates a vanilla WordPress environment with no Gutenberg to test. E2e tests fail during setup or when attempting to access non-existent Gutenberg features.

To run e2e tests on WP trunk with Gutenberg:

{
  "core": "WordPress/WordPress", 
  "plugins": [ "." ]
}

Testing Instructions

N/A - Documentation clarification only.

Testing Instructions for Keyboard

N/A

Screenshots or screencast

N/A


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Copilot AI changed the title [WIP] Run wp/6.9 e2e tests on top of WP trunk Clarify e2e test behavior with Gutenberg disabled Nov 19, 2025
Copilot AI requested a review from ellatrix November 19, 2025 17:47
@ellatrix ellatrix closed this Nov 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants