Reading issue
← Back to microsoft/playwright
microsoft / playwright · Issue No. 42544
merge-reports)Several API doc unions/lists are incomplete or carry wrong version annotations:
blob missing from BuiltInReporter unions. The TestConfig.reporter and FullConfig.reporter doc unions (and the FullConfig.reporter type override in utils/generate_types/overrides-test.d.ts) omit blob, although it is part of builtInReporters and ReporterDescription. As a result, reporter: ['blob'] fails type checking in the generated @playwright/test types.perfetto missing from the merge-reports --reporter list in test-cli-js.md.retain-on-first-failure and retain-on-failure-and-retries are absent from the trace option union in TestConfig/FullConfig docs (both shipped and announced in release notes).on-all-retries, retain-on-first-failure, and retain-on-failure-and-retries are absent from the video option union.FullConfig.configFile is documented as an empty string when no config file exists; it is actually undefined.colorScheme also supports 'no-preference', missing from the docs (emulation.md / TestConfig).maskColor version annotation: listed as since v1.34 on ElementHandle.screenshot/Locator.screenshot/Page.screenshot; the shared template says v1.35 (release notes confirm v1.35) — the local since overrides should be removed.since strings: v.1.30 and bare 1.30/1.46 instead of v1.30/v1.46 in class-cdpsession.md, class-cdpsessionevent.md, class-apirequest.md, class-browser.md, class-browsertype.md (inconsistent rendering across languages).I'd like to work on this myself.
Relay reads this issue against the repository's contribution signals: the files it is likely to touch, how the maintainers triage work this size, and what the first contribution would exercise.
The full analysis for this issue is still being assembled. Until then, the description above and the thread on GitHub are the most reliable context.