Skip to content

test: restructure master-detail-layout DOM snapshot tests#11426

Merged
web-padawan merged 4 commits intomainfrom
mdl/snapshot-test-restructuring
Mar 31, 2026
Merged

test: restructure master-detail-layout DOM snapshot tests#11426
web-padawan merged 4 commits intomainfrom
mdl/snapshot-test-restructuring

Conversation

@vursen
Copy link
Copy Markdown
Contributor

@vursen vursen commented Mar 30, 2026

Summary

  • Reorganize DOM snapshot tests into focused sections: host, shadow, detail, and detail placeholder
  • Add overflow, hidden, and removed test scenarios for detail and detail placeholder
  • Replace overlay mode tests with more granular detail-specific tests
  • Remove host snapshots for detail/placeholder content (now covered by dedicated sections)
  • Remove unit tests checking has-detail attribute presence (covered by snapshot tests)
  • Use onceResized consistently instead of nextFrame for reliable timing

Extracted from #11403

Test plan

  • All snapshot tests pass (yarn test:snapshots --group master-detail-layout)
  • All master-detail-layout tests pass (yarn test --group master-detail-layout)

🤖 Generated with Claude Code

vursen and others added 4 commits March 30, 2026 19:37
Reorganize snapshot tests into focused sections (host, shadow, detail,
detail placeholder) with proper overflow, hidden, and removed scenarios.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
The has-detail attribute presence is already covered by DOM snapshot
tests, making these explicit checks redundant.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@sonarqubecloud
Copy link
Copy Markdown

@web-padawan web-padawan merged commit f49bb0d into main Mar 31, 2026
10 checks passed
@web-padawan web-padawan deleted the mdl/snapshot-test-restructuring branch March 31, 2026 08:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants