chore(claude): enable provided playwright test agents#911
Open
carlosthe19916 wants to merge 1 commit intoguacsec:mainfrom
Open
chore(claude): enable provided playwright test agents#911carlosthe19916 wants to merge 1 commit intoguacsec:mainfrom
carlosthe19916 wants to merge 1 commit intoguacsec:mainfrom
Conversation
Signed-off-by: Carlos Feria <2582866+carlosthe19916@users.noreply.github.com>
Contributor
Reviewer's GuideAdds Playwright-provided Claude test agents (planner, generator, healer) and wires them to a new File-Level Changes
Possibly linked issues
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
Contributor
There was a problem hiding this comment.
Hey - I've left some high level feedback:
- The
descriptionfield inplaywright-test-generatorfrontmatter is extremely long and contains example markup inline; consider moving the example into the body text so the description stays concise and the YAML remains more readable and maintainable. - The hard‑coded
toolslists for the three new agents are quite verbose and tightly coupled to the MCP server API; consider adding a brief comment or central reference near.mcp.jsonto keep these in sync if Playwright’s MCP tool names change (e.g., when regenerating viainit-agents).
Prompt for AI Agents
Please address the comments from this code review:
## Overall Comments
- The `description` field in `playwright-test-generator` frontmatter is extremely long and contains example markup inline; consider moving the example into the body text so the description stays concise and the YAML remains more readable and maintainable.
- The hard‑coded `tools` lists for the three new agents are quite verbose and tightly coupled to the MCP server API; consider adding a brief comment or central reference near `.mcp.json` to keep these in sync if Playwright’s MCP tool names change (e.g., when regenerating via `init-agents`).Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #911 +/- ##
==========================================
- Coverage 64.40% 63.91% -0.49%
==========================================
Files 187 187
Lines 3295 3295
Branches 746 746
==========================================
- Hits 2122 2106 -16
- Misses 875 891 +16
Partials 298 298 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your 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.
Addresses: #909
Enabling Playwright provided Test Agents as documented in the official webpage https://playwright.dev/docs/test-agents
This PR is the result of executing
npx playwright init-agents --loop=claudewith no customization to the default agent definition.Notice that this PR also includes a new MCP server
which is different from
Summary by Sourcery
Integrate Playwright-provided test agents for planning, generating, and healing browser tests, and wire them up via a dedicated Playwright test MCP server.
New Features:
Enhancements:
playwright-testMCP server configuration to back the Playwright testing agents.