You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CG-0MM40Y9K00GRIDAF: Add Splendor layout regression test and fix overlap
Add browser-based layout regression test for SplendorScene that verifies
upper band sections (nobles, market, supply) don't overlap, player/AI
section boxes don't overlap action buttons or instruction text, and
action buttons don't overlap instruction text.
Fix overlapping layout by decoupling section box height from ACTION_Y:
- Introduce LOWER_BOX_H=156 constant for fixed section box height
- Move ACTION_Y from 618 to 626 (5px clearance below section boxes)
- Move INSTRUCTION_Y from 664 to 660
- Add getSectionBoxRects() and getLayoutConstants() test accessors
The test was verified to fail before the fix (section box bottom 606
overlapped action button top 597 by 9px) and pass after.
0 commit comments