johndennehy101/AI Playwright Test Generator

Analyses Playwright tests using AI based on PR diffs & generates missing tests

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
github-tokenGitHub token for API accessyes
llm-api-keyAPI key for LLM serveryes
llm-hostHost address for LLM serveryes
model-idModel ID to use for generationyes
exclude-patternOptional regex pattern to exclude file paths (e.g., "^versions/")no
include-existing-testsInclude existing test files from base branch for context (true/false)nofalse
test-file-suffixesComma-separated test suffixes (e.g., ".spec,.test,.e2e,.playwright")no.spec,.test,.e2e,.playwright
test-file-rootsComma-separated source roots where tests are located (e.g., "src,app,packages/app")nosrc,app,packages/app
include-source-filesInclude changed source files from base branch for context (true/false)nofalse
run-testsRun generated tests with Playwright (true/false)nofalse
app-directoryPath to the app directory (including package.json)no.
install-commandCommand for installing app dependenciesnonpm ci
dev-server-commandCommand for starting the dev servernonpm run dev
dev-server-urlURL to use for testing the actual codenohttp://localhost:5175
start-dev-serverStart the dev server before running tests. Set to false if playwright.config already has a webServer block (true/false)notrue
test-output-pathPath (relative to app-directory) where generated test file savednoe2e/ai-generated.spec.ts
mcp-serversJSON configuration for MCP server to provide the LLM with tools (e.g., {"playwright": {"command": "npx", "args": ["@playwright/mcp@latest"]}})no
dry-runSkip LLM call and test execution, only validate diff parsing and context retrieval (true/false)nofalse

no outputs