✨ Default static-site and storybook screenshots to full-page#226
✨ Default static-site and storybook screenshots to full-page#226
Conversation
Flip screenshot.fullPage defaults to true across config, schema, CLI init defaults, and screenshot helpers in both SDKs. Add --no-full-page so teams can keep viewport-only behavior explicitly. This is a breaking default change; existing behavior can be preserved with screenshot.fullPage: false or --no-full-page.
Vizzly - Visual Test ResultsCLI Reporter - 1 change needs review
|
Code Review FeedbackThis PR successfully implements the default change from viewport-only to full-page screenshots for both the static-site and Storybook SDKs. The implementation is clean and well-tested. Here's my detailed review: ✅ Strengths1. Comprehensive Coverage
2. Well-Tested
3. Clear Documentation
4. Backward Compatibility
🔍 Potential Issues1. Formatting Inconsistency in
|

Why
Full-page capture is usually what teams expect for static pages and Storybook stories.
Today, both SDKs default to viewport-only screenshots. That works, but it also creates surprises when teams assume they are capturing the full scrollable content by default.
What Changed
screenshot.fullPagedefault totruein both SDKs.--no-full-page.fullPage: true.Static Site SDK
Storybook SDK
This changes default screenshot behavior from viewport-only to full-page for users who do not explicitly set
fullPage.How To Keep Previous Behavior
If a team wants viewport-only capture (previous default), they can use either:
screenshot: { fullPage: false }--no-full-pageTest Plan
cd clients/static-site && npm testcd clients/storybook && npm test