fix: enforce managed playwright use defaults#869
Conversation
Co-authored-by: WillBooster (Codex CLI) <agent@willbooster.com>
There was a problem hiding this comment.
Code Review
This pull request updates the Playwright configuration fixer in packages/wbfy/src/fixers/playwrightConfig.ts by introducing a new helper function applyManagedUseDefaults. This function ensures that specific default settings for trace, screenshot, and video are consistently applied to the merged configuration, overriding any local adjustments. No review comments were provided, and the changes align with the repository's coding standards.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
Customer Summary
wbfynow updates the managed Playwrightuse.trace,use.screenshot, anduse.videosettings even when those fields already exist inplaywright.config.ts.Technical Summary
packages/wbfy/src/fixers/playwrightConfig.ts.useartifact settings from the generated defaults.Why
usevalues as local overrides, sowbfyonly backfilled missing artifact settings and did not normalize stale values.wbfyoverwrite unrelated Playwright customization.Testing
yarn verifyNotes