Repository navigation
docs(readme): align configuration schema and env docs with runtime - #551
Closed
Alok Pandey (alok-108) wants to merge 1 commit into
Closed
Alok Pandey (alok-108) wants to merge 1 commit into
Alok Pandey (alok-108) wants to merge 1 commit into
Conversation
Contributor
|
I don't think we need a test, but rather an auto-updater. |
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.
Fixes #550
Summary
README.md's Configuration file schema withplaywright-coreruntime (resolveCLIConfigForCLI/resolveConfigPaths): remove deadsaveVideoand removedoutputMode, updatecodegen('typescript' | 'python' | 'java' | 'csharp' | 'none'), document objectbrowser.remoteEndpoint, relative-path resolution,extension,tabGroup,sessionColor,background,webmcp,secrets,redactUrlParams,outputMaxSize,timeouts.expect/settle/idle,imageResponses,filePaths,snapshot.boxes, andignoreRoots.README.md's Configuration via env withplaywright-core: remove nonexistentPLAYWRIGHT_MCP_SAVE_TRACEandPLAYWRIGHT_MCP_SAVE_VIDEO, updatePLAYWRIGHT_MCP_EXTENSION("Playwright Extension"),PLAYWRIGHT_MCP_CAPS(devtools),PLAYWRIGHT_MCP_CDP_TIMEOUT(30000ms), and document the activePLAYWRIGHT_MCP_*environment variables read byconfigFromEnvand runtime.tests/integration.spec.tsverifying every documentedPLAYWRIGHT_MCP_*environment variable inREADME.mdexists inplaywright-core/lib/coreBundle, removed schema options (saveVideo,outputMode) are absent, andtools.resolveCLIConfigForCLIresolves them with CLI defaults (headless: true).Verification
git diff --checknpx playwright test -g "documented env vars and config schema" --reporter=list:1 passed (781ms)(confirmed failing before theREADME.mdfix onPLAYWRIGHT_MCP_SAVE_TRACEandPLAYWRIGHT_MCP_SAVE_VIDEO)npx playwright test --workers=1 --reporter=list:7 passed(3 pre-existing Windowsnpm view1500ms timeout flakes in unrelated update-check tests)