@@ -5332,43 +5332,43 @@ describe('IgxGrid - Filtering actions - Excel style filtering #grid', () => {
53325332 const val = value !== null && value !== undefined && value !== '' ? pipe . transform ( value , 'longDate' ) : 'No value!' ;
53335333 return val ;
53345334 } ) ;
5335-
5335+
53365336 const dates = fix . componentInstance . data . filter ( d => d . ReleaseDate !== null && d . ReleaseDate !== undefined )
53375337 . map ( el => new Date ( el . ReleaseDate ) ) . sort ( ( a , b ) => a - b ) ;
53385338 fix . detectChanges ( ) ;
5339-
5339+
53405340 // Open excel style custom filtering dialog and wait a bit.
53415341 GridFunctions . clickExcelFilterIcon ( fix , 'ReleaseDate' ) ;
53425342 tick ( 1050 ) ;
53435343 fix . detectChanges ( ) ;
5344-
5344+
53455345 // Verify items in search have loaded and that the loading indicator is not visible.
53465346 let listItems = GridFunctions . getExcelStyleSearchComponentListItems ( fix ) ;
53475347 expect ( listItems . length ) . toBe ( 8 , 'incorrect rendered list items count' ) ;
5348-
5348+
53495349 const checkboxElements = GridFunctions . getExcelStyleFilteringCheckboxes ( fix ) ;
53505350 checkboxElements [ 2 ] . click ( ) ;
53515351 tick ( ) ;
53525352 fix . detectChanges ( ) ;
53535353
53545354 GridFunctions . clickApplyExcelStyleFiltering ( fix ) ;
53555355 fix . detectChanges ( ) ;
5356-
5356+
53575357 // Open excel style custom filtering dialog and wait a bit.
53585358 GridFunctions . clickExcelFilterIcon ( fix , 'ReleaseDate' ) ;
53595359 tick ( 1050 ) ;
53605360 fix . detectChanges ( ) ;
5361-
5361+
53625362 listItems = GridFunctions . getExcelStyleSearchComponentListItems ( fix ) ;
53635363 expect ( listItems . length ) . toBe ( 8 , 'incorrect rendered list items count' ) ;
5364-
5364+
53655365 expect ( listItems [ 1 ] . innerText ) . toBe ( 'No value!' ) ;
53665366 for ( let i = 2 ; i < listItems . length ; i ++ ) {
53675367 const date = dates [ i - 2 ] ;
53685368 const label = date !== null && date !== undefined && date !== '' ? datePipe . transform ( date , 'longDate' ) : 'No value!' ;
53695369 expect ( listItems [ i ] . innerText ) . toBe ( label ) ;
53705370 }
5371-
5371+
53725372 const loadingIndicator = GridFunctions . getExcelFilteringLoadingIndicator ( fix ) ;
53735373 expect ( loadingIndicator ) . toBeNull ( 'esf loading indicator is visible' ) ;
53745374 } ) ) ;
0 commit comments