@@ -116,7 +116,7 @@ describe('IgxGrid - Summaries #grid', () => {
116116 await wait ( 30 ) ;
117117 fixture . detectChanges ( ) ;
118118
119- const summaryRow = GridSummaryFunctions . getRootSummaryRow ( fixture ) ;
119+ const summaryRow = GridSummaryFunctions . getRootSummaryRow ( fixture ) ;
120120 GridSummaryFunctions . verifyColumnSummaries ( summaryRow , 3 , [ 'Count' , 'Min' , 'Max' , 'Sum' , 'Avg' ] ,
121121 [ '11' , '0' , '99,000' , '138,004' , '12,545.818' ] ) ;
122122 } ) ) ;
@@ -140,7 +140,7 @@ describe('IgxGrid - Summaries #grid', () => {
140140 let fixture : ComponentFixture < CustomSummariesComponent > ;
141141 let grid : IgxGridComponent ;
142142
143- beforeEach ( fakeAsync ( ( ) => {
143+ beforeEach ( fakeAsync ( ( ) => {
144144 fixture = TestBed . createComponent ( CustomSummariesComponent ) ;
145145 fixture . detectChanges ( ) ;
146146 grid = fixture . componentInstance . grid1 ;
@@ -1017,7 +1017,7 @@ describe('IgxGrid - Summaries #grid', () => {
10171017 expect ( cell . selected ) . toBe ( true ) ;
10181018 GridSummaryFunctions . verifySummaryCellActive ( fix , 3 , 0 ) ;
10191019
1020- const summaryRow = GridSummaryFunctions . getSummaryRowByDataRowIndex ( fix , 3 ) ;
1020+ const summaryRow = GridSummaryFunctions . getSummaryRowByDataRowIndex ( fix , 3 ) ;
10211021 let summaryCell = GridSummaryFunctions . getSummaryCellByVisibleIndex ( summaryRow , 0 ) ;
10221022 UIInteractions . triggerEventHandlerKeyDown ( 'ArrowDown' , summaryCell ) ;
10231023 fix . detectChanges ( ) ;
@@ -1061,16 +1061,15 @@ describe('IgxGrid - Summaries #grid', () => {
10611061
10621062 GridSummaryFunctions . focusSummaryCell ( fix , 0 , 0 ) ;
10631063
1064- const summaryRow = GridSummaryFunctions . getSummaryRowByDataRowIndex ( fix , 0 ) ;
1064+ const summaryRow = GridSummaryFunctions . getSummaryRowByDataRowIndex ( fix , 0 ) ;
10651065 const summaryCell = GridSummaryFunctions . getSummaryCellByVisibleIndex ( summaryRow , 0 ) ;
10661066 UIInteractions . triggerEventHandlerKeyDown ( 'Tab' , summaryCell , false , true ) ;
10671067
10681068 fix . detectChanges ( ) ;
1069- const closeButton = GridFunctions . getFilterRowCloseButton ( fix ) ;
1069+ const closeButton = GridFunctions . getFilterRowCloseButton ( fix ) ;
10701070 expect ( document . activeElement ) . toEqual ( closeButton . nativeElement ) ;
10711071
1072- const filterRow = GridFunctions . getFilterRow ( fix ) ;
1073- UIInteractions . triggerEventHandlerKeyDown ( 'Tab' , filterRow ) ;
1072+ grid . filteringRow . onTabKeydown ( UIInteractions . getKeyboardEvent ( 'keydown' , 'tab' ) ) ;
10741073 fix . detectChanges ( ) ;
10751074
10761075 GridSummaryFunctions . verifySummaryCellActive ( fix , 0 , 0 ) ;
0 commit comments