@@ -2566,7 +2566,7 @@ describe('IgxGrid - Filtering Row UI actions #grid', () => {
2566
2566
expect ( filterUIRow ) . not . toBeNull ( ) ;
2567
2567
2568
2568
// Click on a column with custom filter
2569
- const header = GridFunctions . getColumnHeaderByIndex ( fix , 1 ) ;
2569
+ const header = GridFunctions . getColumnHeaderTitleByIndex ( fix , 1 ) ;
2570
2570
header . click ( ) ;
2571
2571
fix . detectChanges ( ) ;
2572
2572
@@ -3202,16 +3202,16 @@ describe('IgxGrid - Filtering actions - Excel style filtering #grid', () => {
3202
3202
GridFunctions . clickMoveRightInExcelStyleFiltering ( fix ) ;
3203
3203
tick ( 100 ) ;
3204
3204
fix . detectChanges ( ) ;
3205
- expect ( GridFunctions . getColumnHeaderByIndex ( fix , 0 ) . innerText ) . toBe ( 'ID' ) ;
3206
- expect ( GridFunctions . getColumnHeaderByIndex ( fix , 1 ) . innerText ) . toBe ( 'ProductName' ) ;
3205
+ expect ( GridFunctions . getColumnHeaderTitleByIndex ( fix , 0 ) . innerText ) . toBe ( 'ID' ) ;
3206
+ expect ( GridFunctions . getColumnHeaderTitleByIndex ( fix , 1 ) . innerText ) . toBe ( 'ProductName' ) ;
3207
3207
expect ( productNameCol . pinned ) . toBe ( true ) ;
3208
3208
3209
3209
// Move 'ProductName' one step to the left. (should move)
3210
3210
GridFunctions . clickMoveLeftInExcelStyleFiltering ( fix ) ;
3211
3211
tick ( 100 ) ;
3212
3212
fix . detectChanges ( ) ;
3213
- expect ( GridFunctions . getColumnHeaderByIndex ( fix , 0 ) . innerText ) . toBe ( 'ProductName' ) ;
3214
- expect ( GridFunctions . getColumnHeaderByIndex ( fix , 1 ) . innerText ) . toBe ( 'ID' ) ;
3213
+ expect ( GridFunctions . getColumnHeaderTitleByIndex ( fix , 0 ) . innerText ) . toBe ( 'ProductName' ) ;
3214
+ expect ( GridFunctions . getColumnHeaderTitleByIndex ( fix , 1 ) . innerText ) . toBe ( 'ID' ) ;
3215
3215
expect ( productNameCol . pinned ) . toBe ( true ) ;
3216
3216
3217
3217
// Try move 'ProductName' one step to the left. (Button should be disabled since it's already first)
@@ -3225,8 +3225,8 @@ describe('IgxGrid - Filtering actions - Excel style filtering #grid', () => {
3225
3225
GridFunctions . clickMoveRightInExcelStyleFiltering ( fix ) ;
3226
3226
tick ( 100 ) ;
3227
3227
fix . detectChanges ( ) ;
3228
- expect ( GridFunctions . getColumnHeaderByIndex ( fix , 0 ) . innerText ) . toBe ( 'ID' ) ;
3229
- expect ( GridFunctions . getColumnHeaderByIndex ( fix , 1 ) . innerText ) . toBe ( 'ProductName' ) ;
3228
+ expect ( GridFunctions . getColumnHeaderTitleByIndex ( fix , 0 ) . innerText ) . toBe ( 'ID' ) ;
3229
+ expect ( GridFunctions . getColumnHeaderTitleByIndex ( fix , 1 ) . innerText ) . toBe ( 'ProductName' ) ;
3230
3230
expect ( productNameCol . pinned ) . toBe ( false ) ;
3231
3231
} ) ) ;
3232
3232
@@ -3237,8 +3237,8 @@ describe('IgxGrid - Filtering actions - Excel style filtering #grid', () => {
3237
3237
productNameCol . pinned = true ;
3238
3238
downloadsCol . movable = true ;
3239
3239
fix . detectChanges ( ) ;
3240
- expect ( GridFunctions . getColumnHeaderByIndex ( fix , 0 ) . innerText ) . toBe ( 'ProductName' ) ;
3241
- expect ( GridFunctions . getColumnHeaderByIndex ( fix , 2 ) . innerText ) . toBe ( 'Downloads' ) ;
3240
+ expect ( GridFunctions . getColumnHeaderTitleByIndex ( fix , 0 ) . innerText ) . toBe ( 'ProductName' ) ;
3241
+ expect ( GridFunctions . getColumnHeaderTitleByIndex ( fix , 2 ) . innerText ) . toBe ( 'Downloads' ) ;
3242
3242
expect ( downloadsCol . pinned ) . toBe ( false ) ;
3243
3243
3244
3244
GridFunctions . clickExcelFilterIconFromCode ( fix , grid , 'Downloads' ) ;
@@ -3250,8 +3250,8 @@ describe('IgxGrid - Filtering actions - Excel style filtering #grid', () => {
3250
3250
tick ( 100 ) ;
3251
3251
fix . detectChanges ( ) ;
3252
3252
3253
- expect ( GridFunctions . getColumnHeaderByIndex ( fix , 0 ) . innerText ) . toBe ( 'ProductName' ) ;
3254
- expect ( GridFunctions . getColumnHeaderByIndex ( fix , 1 ) . innerText ) . toBe ( 'Downloads' ) ;
3253
+ expect ( GridFunctions . getColumnHeaderTitleByIndex ( fix , 0 ) . innerText ) . toBe ( 'ProductName' ) ;
3254
+ expect ( GridFunctions . getColumnHeaderTitleByIndex ( fix , 1 ) . innerText ) . toBe ( 'Downloads' ) ;
3255
3255
expect ( downloadsCol . pinned ) . toBe ( true ) ;
3256
3256
} ) ) ;
3257
3257
0 commit comments