@@ -4213,6 +4213,7 @@ describe('IgxGrid - Filtering actions - Excel style filtering #grid', () => {
42134213
42144214 it ( 'Should correctly update all items based on \'SelectAll\' checkbox.' , fakeAsync ( ( ) => {
42154215 GridFunctions . clickExcelFilterIconFromCode ( fix , grid , 'ProductName' ) ;
4216+ flush ( ) ;
42164217
42174218 const visibleListItems = GridFunctions . getExcelStyleFilteringCheckboxes ( fix ) ;
42184219 const dataListItems = visibleListItems . slice ( 1 , visibleListItems . length ) ;
@@ -4245,6 +4246,7 @@ describe('IgxGrid - Filtering actions - Excel style filtering #grid', () => {
42454246
42464247 it ( 'Should correctly update all \'SelectAll\' checkbox when not a single item is checked.' , fakeAsync ( ( ) => {
42474248 GridFunctions . clickExcelFilterIconFromCode ( fix , grid , 'Released' ) ;
4249+ flush ( ) ;
42484250
42494251 const visibleListItems = GridFunctions . getExcelStyleFilteringCheckboxes ( fix ) ;
42504252 expect ( visibleListItems . length ) . toBe ( 4 ) ;
@@ -4382,8 +4384,6 @@ describe('IgxGrid - Filtering actions - Excel style filtering #grid', () => {
43824384 GridFunctions . clickExcelFilterIconFromCode ( fix , grid , 'ProductName' ) ;
43834385
43844386 let checkboxes = GridFunctions . getExcelStyleFilteringCheckboxes ( fix ) ;
4385-
4386- tick ( 100 ) ;
43874387 fix . detectChanges ( ) ;
43884388
43894389 checkboxes [ 0 ] . click ( ) ;
@@ -4395,12 +4395,12 @@ describe('IgxGrid - Filtering actions - Excel style filtering #grid', () => {
43954395 fix . detectChanges ( ) ;
43964396
43974397 GridFunctions . clickApplyExcelStyleFiltering ( fix ) ;
4398- tick ( 100 ) ;
4398+ tick ( ) ;
43994399 fix . detectChanges ( ) ;
4400-
44014400 expect ( grid . filteredData . length ) . toEqual ( 1 ) ;
44024401
44034402 GridFunctions . clickExcelFilterIconFromCode ( fix , grid , 'ProductName' ) ;
4403+ flush ( ) ;
44044404
44054405 let inputNativeElement = GridFunctions . getExcelStyleSearchComponentInput ( fix ) ;
44064406 UIInteractions . clickAndSendInputElementValue ( inputNativeElement , 'Net' , fix ) ;
@@ -4409,18 +4409,14 @@ describe('IgxGrid - Filtering actions - Excel style filtering #grid', () => {
44094409 expect ( listItems . length ) . toBe ( 2 , 'incorrect rendered list items count' ) ;
44104410
44114411 GridFunctions . clickClearFilterInExcelStyleFiltering ( fix ) ;
4412- fix . detectChanges ( ) ;
44134412 flush ( ) ;
4414-
44154413 expect ( grid . filteredData ) . toBeNull ( ) ;
44164414
44174415 inputNativeElement = GridFunctions . getExcelStyleSearchComponentInput ( fix ) ;
44184416 expect ( inputNativeElement . value ) . toBe ( '' , 'search criteria is not cleared' ) ;
44194417
44204418 checkboxes = GridFunctions . getExcelStyleFilteringCheckboxes ( fix ) ;
4421-
44224419 const listItemsCheckboxes = checkboxes . slice ( 1 , checkboxes . length ) ;
4423-
44244420 for ( const checkbox of listItemsCheckboxes ) {
44254421 ControlsFunction . verifyCheckboxState ( checkbox . parentElement ) ;
44264422 }
0 commit comments