@@ -135,7 +135,7 @@ const FIELDS = {
135135};
136136const ROWS = [1, 2, 3].map((i) => ({
137137 id: 'p' + i, name: 'Allocation ' + i, plan_date: '2026-11-0' + i, quantity: 10 * i, amount: 1250.5 * i,
138- warehouse: 'Main warehouse', owner: 'Dana Smith', note: 'Ship with the next batch',
138+ warehouse: 'Main warehouse east ', owner: 'Dana Smith', note: 'Ship with the next batch',
139139 status: i === 1 ? 'confirmed' : 'draft',
140140}));
141141const dataSource = {
@@ -349,12 +349,12 @@ test.describe('enlarged related list in a record drawer — the pinned Actions c
349349 await mount ( page , c , 'th[data-column-key="status"]' ) ;
350350 const r = await readAtRest ( page ) ;
351351 report ( testInfo , c , r ) ;
352- expect ( r . folded , 'the inline button was not folded although the table overflows with it' ) . toBe ( true ) ;
353- expect ( r . inlineButtons ) . toBe ( 0 ) ;
354- expect ( r . box . scrollWidth - r . box . clientWidth , 'the table still overflows the drawer' ) . toBeLessThanOrEqual ( 1 ) ;
352+ expect ( r . statusRight , 'the pinned Actions column covers part of Status at rest' ) . toBeLessThanOrEqual ( r . actions . left ) ;
355353 expect ( r . statusCellHit , `the Status cell is covered at rest by ${ r . statusHitBy } ` ) . toBe ( true ) ;
356354 expect ( r . statusHeaderHit , 'the Status header is covered at rest' ) . toBe ( true ) ;
357- expect ( r . statusRight ) . toBeLessThanOrEqual ( r . actions . left ) ;
355+ expect ( r . box . scrollWidth - r . box . clientWidth , 'the table still overflows the drawer' ) . toBeLessThanOrEqual ( 1 ) ;
356+ expect ( r . folded , 'the inline button was not folded although the table overflows with it' ) . toBe ( true ) ;
357+ expect ( r . inlineButtons ) . toBe ( 0 ) ;
358358 await allocateFromMenu ( page ) ;
359359 } ) ;
360360 }
0 commit comments