@@ -3701,7 +3701,7 @@ describe('IgxGrid - Filtering actions - Excel style filtering #grid', () => {
3701
3701
3702
3702
listItems = GridFunctions . getExcelStyleSearchComponentListItems ( fix , searchComponent ) ;
3703
3703
expect ( inputNativeElement . value ) . toBe ( '' , 'incorrect rendered list items count' ) ;
3704
- expect ( listItems . length ) . toBe ( 9 , 'incorrect rendered list items count' ) ;
3704
+ expect ( listItems . length ) . toBe ( 8 , 'incorrect rendered list items count' ) ;
3705
3705
} ) ;
3706
3706
3707
3707
it ( 'Should enable/disable the apply button correctly.' , async ( ) => {
@@ -4012,15 +4012,15 @@ describe('IgxGrid - Filtering actions - Excel style filtering #grid', () => {
4012
4012
fix . detectChanges ( ) ;
4013
4013
4014
4014
// Verify scrollbar's scrollTop.
4015
- expect ( scrollbar . scrollTop >= 670 && scrollbar . scrollTop <= 700 ) . toBe ( true ,
4015
+ expect ( scrollbar . scrollTop >= 660 && scrollbar . scrollTop <= 700 ) . toBe ( true ,
4016
4016
'search scrollbar has incorrect scrollTop: ' + scrollbar . scrollTop ) ;
4017
4017
// Verify display container height.
4018
4018
const displayContainer = searchComponent . querySelector ( 'igx-display-container' ) ;
4019
4019
const displayContainerRect = displayContainer . getBoundingClientRect ( ) ;
4020
- expect ( displayContainerRect . height ) . toBe ( 216 , 'incorrect search display container height' ) ;
4020
+ expect ( displayContainerRect . height ) . toBe ( 240 , 'incorrect search display container height' ) ;
4021
4021
// Verify rendered list items count.
4022
4022
const listItems = displayContainer . querySelectorAll ( 'igx-list-item' ) ;
4023
- expect ( listItems . length ) . toBe ( 9 , 'incorrect rendered list items count' ) ;
4023
+ expect ( listItems . length ) . toBe ( 10 , 'incorrect rendered list items count' ) ;
4024
4024
} ) ) ;
4025
4025
4026
4026
it ( 'should correctly display all items in search list after filtering it' , ( async ( ) => {
@@ -4294,8 +4294,8 @@ describe('IgxGrid - Filtering actions - Excel style filtering #grid', () => {
4294
4294
fix . detectChanges ( ) ;
4295
4295
4296
4296
verifyExcelStyleFilterAvailableOptions ( fix ,
4297
- [ 'Select All' , '(Blanks)' , '0' , '20' , '100' , '127' , '254' , '702' , '1,000' ] ,
4298
- [ true , true , true , true , true , true , true , true , true ] ) ;
4297
+ [ 'Select All' , '(Blanks)' , '0' , '20' , '100' , '127' , '254' , '702' ] ,
4298
+ [ true , true , true , true , true , true , true , true ] ) ;
4299
4299
4300
4300
GridFunctions . clickExcelFilterIcon ( fix , 'ProductName' ) ;
4301
4301
tick ( 100 ) ;
@@ -5869,7 +5869,7 @@ describe('IgxGrid - Filtering actions - Excel style filtering #grid', () => {
5869
5869
5870
5870
// Verify items in search have loaded and that the loading indicator is not visible.
5871
5871
listItems = GridFunctions . getExcelStyleSearchComponentListItems ( fix ) ;
5872
- expect ( listItems . length ) . toBe ( 9 , 'incorrect rendered list items count' ) ;
5872
+ expect ( listItems . length ) . toBe ( 8 , 'incorrect rendered list items count' ) ;
5873
5873
5874
5874
listItems . forEach ( ( item , ind ) => {
5875
5875
expect ( item . innerText ) . toBe ( downloads [ ind ] ) ;
@@ -6026,7 +6026,7 @@ describe('IgxGrid - Filtering actions - Excel style filtering #grid', () => {
6026
6026
fix . detectChanges ( ) ;
6027
6027
expect ( compInstance . doneCallbackCounter ) . toBe ( 2 , 'Incorrect done callback execution count' ) ;
6028
6028
listItems = GridFunctions . getExcelStyleSearchComponentListItems ( fix ) ;
6029
- expect ( listItems . length ) . toBe ( 9 , 'incorrect rendered list items count' ) ;
6029
+ expect ( listItems . length ) . toBe ( 8 , 'incorrect rendered list items count' ) ;
6030
6030
loadingIndicator = GridFunctions . getExcelFilteringLoadingIndicator ( fix ) ;
6031
6031
expect ( loadingIndicator ) . toBeNull ( 'esf loading indicator is visible' ) ;
6032
6032
} ) ) ;
0 commit comments