Conversation
Kallyan01
force-pushed
the
feat/playwright
branch
from
August 17, 2026 11:29
85497ea to
87b004e
Compare
…ctivation and scaffold validation
Kallyan01
force-pushed
the
feat/playwright
branch
from
August 18, 2026 19:25
6c34d67 to
44c69fb
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.
Summary
Add a Playwright end-to-end testing scaffold running against a dedicated wp-env
test environment, completing the shared OneSearch test baseline alongside the
Jest unit suite from #141.
Changes
playwright.config.ts(new): Playwright setup rooted attestDir: ./tests/e2e..wp-env.test.json(new): an isolated test environment on port 8889 withWP_DEBUGon and its owndebug-test.log, so E2E runs never touch the devcontainer or its database.
tests/e2e/plugin/activation.spec.ts— activates and deactivates the plugin.tests/e2e/scaffold/plugin-preview.spec.ts— asserts the built plugin ispresent and activatable, and that the admin surface renders without a fatal.
test:e2e(wp-scripts test-playwright) andwp-env:test(
wp-env --config=.wp-env.test.json).@wordpress/env^10.39.0→^11.8.0: 10.x has no--configflag, sowp-env:testsilently no-opped against the already-running dev containerinstead of starting a separate test environment. The bump is what makes the
isolated test env actually work.
@playwright/testand pins@wordpress/e2e-test-utils-playwrightto1.46.0(including an override for@wordpress/scripts) to keep thePlaywright utils version consistent.