feat(e2e): Add Playwright subprocess executor and script fix command#458
Merged
Conversation
- Add `playwright-subprocess-executor` that runs Playwright tests in an isolated child process via `playwright test`, independent of the shared browser session - Add `e2e-script-fix-executor` command handler for AI-assisted E2E script fix flow (`e2e_script_fix` command type) - Wire `executionMethod: 'playwright'` in `e2e-test-executor` to use the new subprocess executor instead of the in-process browser script path - Add `playwright.subprocess.config.ts` for the subprocess test runner - Register `e2e_script_fix` in `AgentCommandType` and `CommandDispatch` - Add `@playwright/test` as optional dependency - Add full test coverage for all new code paths Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Dependency Update Test Results
This comment was automatically generated by the Dependency Update Test workflow. |
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
playwright-subprocess-executorthat runs Playwright tests in an isolated child process viaplaywright test, independent of the shared browser session. This avoids interference with the agent's live browser session.e2e-script-fix-executorcommand handler that implements an AI-assisted E2E script fix flow for the newe2e_script_fixcommand type.executionMethod: 'playwright'ine2e-test-executorto dispatch to the new subprocess executor before falling back to the existing in-process script path.playwright.subprocess.config.tsas the Playwright configuration used by the subprocess runner.e2e_script_fixinAgentCommandTypeandCommandDispatchunion types.@playwright/testas an optional dependency.Test plan
npm testpasses with full coverage (Statements ≥ 95%, Branches ≥ 90%, Functions ≥ 95%, Lines ≥ 95%)playwright-subprocess-executor(success, failure, timeout paths)e2e-script-fix-executorcommand handlere2e-test-executortests coverexecutionMethod: 'playwright'routing, step reporting, screenshot path handling, and subprocess error propagation🤖 Generated with Claude Code