@@ -812,10 +812,10 @@ describe("PropertyPanel — Media group (Plan 4)", () => {
812812// design_handoff scrollable-open-section: collapsed headers before/after the
813813// open group render in normal document flow and never move (no sticky, no
814814// stacking offsets) — only the open group's own body content scrolls, in a
815- // dedicated region between the two fixed header stacks. Worked example: 6
816- // groups [text, style, layout, motion, grade, media], motion open (index 3)
815+ // dedicated region between the two fixed header stacks. Worked example: 7
816+ // groups [text, style, layout, motion, grade, effects, media], motion open (index 3)
817817// -> text/style/layout render as fixed collapsed headers before it, motion
818- // renders as an open header + scrollable body, grade/media render as fixed
818+ // renders as an open header + scrollable body, grade/effects/ media render as fixed
819819// collapsed headers after it — in exactly that DOM order, nothing sticky.
820820describe ( "PropertyPanel — fixed headers + scrollable open section (Plan 11)" , ( ) => {
821821 it (
@@ -839,13 +839,14 @@ describe("PropertyPanel — fixed headers + scrollable open section (Plan 11)",
839839 } ) ;
840840 // Filter to just the group entries (drop any non-group nulls).
841841 const groupTitles = titles . filter ( ( t ) : t is string => t !== null ) ;
842- expect ( groupTitles ) . toHaveLength ( 6 ) ;
842+ expect ( groupTitles ) . toHaveLength ( 7 ) ;
843843 expect ( groupTitles [ 0 ] ) . toContain ( "Text" ) ;
844844 expect ( groupTitles [ 1 ] ) . toContain ( "Style" ) ;
845845 expect ( groupTitles [ 2 ] ) . toContain ( "Layout" ) ;
846846 expect ( groupTitles [ 3 ] ) . toContain ( "Motion" ) ;
847847 expect ( groupTitles [ 4 ] ) . toContain ( "Grade" ) ;
848- expect ( groupTitles [ 5 ] ) . toContain ( "Media" ) ;
848+ expect ( groupTitles [ 5 ] ) . toContain ( "Effects" ) ;
849+ expect ( groupTitles [ 6 ] ) . toContain ( "Media" ) ;
849850
850851 // The open group (Motion, index 3) is the one wrapped in
851852 // data-flat-group-open, sitting between the before/after collapsed
@@ -880,14 +881,15 @@ describe("PropertyPanel — fixed headers + scrollable open section (Plan 11)",
880881 const collapsedRows = Array . from (
881882 host . querySelectorAll < HTMLButtonElement > ( '[data-flat-group-collapsed="true"]' ) ,
882883 ) ;
883- expect ( collapsedRows ) . toHaveLength ( 6 ) ;
884+ expect ( collapsedRows ) . toHaveLength ( 7 ) ;
884885 const titlesInOrder = collapsedRows . map ( ( el ) => el . textContent ?? "" ) ;
885886 expect ( titlesInOrder [ 0 ] ) . toContain ( "Text" ) ;
886887 expect ( titlesInOrder [ 1 ] ) . toContain ( "Style" ) ;
887888 expect ( titlesInOrder [ 2 ] ) . toContain ( "Layout" ) ;
888889 expect ( titlesInOrder [ 3 ] ) . toContain ( "Motion" ) ;
889890 expect ( titlesInOrder [ 4 ] ) . toContain ( "Grade" ) ;
890- expect ( titlesInOrder [ 5 ] ) . toContain ( "Media" ) ;
891+ expect ( titlesInOrder [ 5 ] ) . toContain ( "Effects" ) ;
892+ expect ( titlesInOrder [ 6 ] ) . toContain ( "Media" ) ;
891893
892894 const body = host . querySelector ( '[data-flat-panel-body="true"]' ) ;
893895 expect ( body ?. querySelector ( ".overflow-y-auto" ) ) . toBeNull ( ) ;
0 commit comments