@@ -67,7 +67,7 @@ describe('IgxGrid - Summaries #grid', () => {
6767
6868 it ( 'should enableSummaries through grid API ' , ( ) => {
6969 expect ( grid . hasSummarizedColumns ) . toBe ( false ) ;
70- let tFoot = GridFunctions . getGridFooter ( fixture ) . nativeElement . getBoundingClientRect ( ) . height ;
70+ let tFoot = GridFunctions . getGridFooterWrapper ( fixture ) . nativeElement . getBoundingClientRect ( ) . height ;
7171 expect ( tFoot < grid . defaultSummaryHeight ) . toBe ( true ) ;
7272
7373 grid . enableSummaries ( [ { fieldName : 'ProductName' } , { fieldName : 'ProductID' } ] ) ;
@@ -84,7 +84,7 @@ describe('IgxGrid - Summaries #grid', () => {
8484 expect ( grid . getColumnByName ( 'ProductName' ) . hasSummary ) . toBe ( true ) ;
8585 expect ( grid . getColumnByName ( 'OrderDate' ) . hasSummary ) . toBe ( false ) ;
8686
87- tFoot = GridFunctions . getGridFooter ( fixture ) . nativeElement . getBoundingClientRect ( ) . height ;
87+ tFoot = GridFunctions . getGridFooterWrapper ( fixture ) . nativeElement . getBoundingClientRect ( ) . height ;
8888 expect ( tFoot ) . toEqual ( grid . defaultSummaryHeight ) ;
8989 } ) ;
9090
@@ -95,7 +95,7 @@ describe('IgxGrid - Summaries #grid', () => {
9595 grid . getColumnByName ( 'UnitsInStock' ) . hasSummary = true ;
9696 fixture . detectChanges ( ) ;
9797
98- const tFoot = GridFunctions . getGridFooter ( fixture ) . nativeElement . getBoundingClientRect ( ) . height ;
98+ const tFoot = GridFunctions . getGridFooterWrapper ( fixture ) . nativeElement . getBoundingClientRect ( ) . height ;
9999 expect ( tFoot ) . toEqual ( 5 * grid . defaultSummaryHeight ) ;
100100 expect ( GridSummaryFunctions . getRootSummaryRow ( fixture ) ) . toBeDefined ( ) ;
101101 } ) ;
@@ -170,7 +170,7 @@ describe('IgxGrid - Summaries #grid', () => {
170170 GridSummaryFunctions . verifyColumnSummaries ( summaryRow , 3 , [ 'Count' , 'Test 1' , 'Test 2' ] , [ '10' , '50' , '150' ] ) ;
171171 GridSummaryFunctions . verifyColumnSummaries ( summaryRow , 4 , [ 'Count' , 'Test 3' ] , [ '10' , '850' ] ) ;
172172
173- const tFootHeight = GridFunctions . getGridFooter ( fixture ) . nativeElement . getBoundingClientRect ( ) . height ;
173+ const tFootHeight = GridFunctions . getGridFooterWrapper ( fixture ) . nativeElement . getBoundingClientRect ( ) . height ;
174174 expect ( tFootHeight ) . toBeGreaterThanOrEqual ( 3 * grid . defaultSummaryHeight ) ;
175175 } ) ;
176176
@@ -610,14 +610,14 @@ describe('IgxGrid - Summaries #grid', () => {
610610 } ) ) ;
611611
612612 it ( 'Hiding: should recalculate summary area after column with enabled summary is hidden' , fakeAsync ( ( ) => {
613- let tFoot = GridFunctions . getGridFooter ( fix ) . nativeElement . getBoundingClientRect ( ) . height ;
613+ let tFoot = GridFunctions . getGridFooterWrapper ( fix ) . nativeElement . getBoundingClientRect ( ) . height ;
614614 expect ( tFoot ) . toEqual ( 5 * grid . defaultSummaryHeight ) ;
615615
616616 grid . getColumnByName ( 'UnitsInStock' ) . hidden = true ;
617617 tick ( ) ;
618618 fix . detectChanges ( ) ;
619619
620- tFoot = GridFunctions . getGridFooter ( fix ) . nativeElement . getBoundingClientRect ( ) . height ;
620+ tFoot = GridFunctions . getGridFooterWrapper ( fix ) . nativeElement . getBoundingClientRect ( ) . height ;
621621 expect ( tFoot ) . toEqual ( 3 * grid . defaultSummaryHeight ) ;
622622 expect ( grid . hasSummarizedColumns ) . toBe ( true ) ;
623623
@@ -633,7 +633,7 @@ describe('IgxGrid - Summaries #grid', () => {
633633 fix . detectChanges ( ) ;
634634
635635 expect ( grid . hasSummarizedColumns ) . toBe ( true ) ;
636- tFoot = GridFunctions . getGridFooter ( fix ) . nativeElement . getBoundingClientRect ( ) . height ;
636+ tFoot = GridFunctions . getGridFooterWrapper ( fix ) . nativeElement . getBoundingClientRect ( ) . height ;
637637 expect ( tFoot ) . toEqual ( 5 * grid . defaultSummaryHeight ) ;
638638 summaryRow = fix . debugElement . query ( By . css ( SUMMARY_ROW ) ) ;
639639 GridSummaryFunctions . verifyColumnSummaries ( summaryRow , 0 , [ ] , [ ] ) ;
0 commit comments