@@ -369,6 +369,7 @@ describe('IgxTreeGrid - Multi Cell selection #tGrid', () => {
369369 const selectionChangeSpy = spyOn < any > ( treeGrid . onRangeSelection , 'emit' ) . and . callThrough ( ) ;
370370 treeGrid . getColumnByName ( 'Name' ) . hasSummary = true ;
371371 treeGrid . summaryCalculationMode = 'childLevelsOnly' ;
372+ await wait ( 30 ) ;
372373 fix . detectChanges ( ) ;
373374
374375 const gridContent = GridFunctions . getGridContent ( fix ) ;
@@ -378,28 +379,28 @@ describe('IgxTreeGrid - Multi Cell selection #tGrid', () => {
378379
379380 GridSelectionFunctions . verifyCellSelected ( cell ) ;
380381
381- for ( let i = 8 ; i < 16 ; i ++ ) {
382+ for ( let i = 8 ; i < 12 ; i ++ ) {
382383 UIInteractions . triggerEventHandlerKeyDown ( 'arrowdown' , gridContent , false , true ) ;
383384 await wait ( 30 ) ;
384385 fix . detectChanges ( ) ;
385386 }
386387
387- expect ( selectionChangeSpy ) . toHaveBeenCalledTimes ( 5 ) ;
388- GridSelectionFunctions . verifyCellsRegionSelected ( treeGrid , 8 , 15 , 1 , 1 ) ;
388+ expect ( selectionChangeSpy ) . toHaveBeenCalledTimes ( 3 ) ;
389+ GridSelectionFunctions . verifyCellsRegionSelected ( treeGrid , 8 , 11 , 1 , 1 ) ;
389390
390391 for ( let i = 1 ; i < 3 ; i ++ ) {
391392 UIInteractions . triggerEventHandlerKeyDown ( 'arrowright' , gridContent , false , true ) ;
392393 await wait ( 30 ) ;
393394 fix . detectChanges ( ) ;
394395 }
395396
396- GridSelectionFunctions . verifyCellsRegionSelected ( treeGrid , 8 , 15 , 1 , 1 ) ;
397+ GridSelectionFunctions . verifyCellsRegionSelected ( treeGrid , 8 , 11 , 1 , 1 ) ;
397398
398399 UIInteractions . triggerEventHandlerKeyDown ( 'arrowup' , gridContent , false , true ) ;
399400 await wait ( 30 ) ;
400401 fix . detectChanges ( ) ;
401- expect ( selectionChangeSpy ) . toHaveBeenCalledTimes ( 6 ) ;
402- GridSelectionFunctions . verifySelectedRange ( treeGrid , 8 , 15 , 1 , 3 ) ;
402+ expect ( selectionChangeSpy ) . toHaveBeenCalledTimes ( 4 ) ;
403+ GridSelectionFunctions . verifySelectedRange ( treeGrid , 8 , 11 , 1 , 3 ) ;
403404 } ) ) ;
404405
405406 it ( 'Summaries: should clear selected range when navigate from summary cell without pressed shift' , ( async ( ) => {
0 commit comments