@@ -2845,9 +2845,9 @@ describe('IgxGrid - Filtering Row UI actions #grid', () => {
28452845 expect ( GridFunctions . getCurrentCellFromGrid ( grid , 1 , 1 ) . value ) . toBe ( 'Ignite UI for Angular' ) ;
28462846 } ) ) ;
28472847
2848- it ( 'Verify filter cell chip is scrolled into view on click.' , fakeAsync ( ( ) => {
2848+ it ( 'Verify filter cell chip is scrolled into view on click.' , async ( ) => {
28492849 grid . width = '470px' ;
2850- tick ( 100 ) ;
2850+ await wait ( DEBOUNCETIME ) ;
28512851 fix . detectChanges ( ) ;
28522852
28532853 // Verify 'ReleaseDate' filter chip is not fully visible.
@@ -2857,12 +2857,12 @@ describe('IgxGrid - Filtering Row UI actions #grid', () => {
28572857 expect ( chipRect . right > gridRect . right ) . toBe ( true ,
28582858 'chip should not be fully visible and thus not within grid' ) ;
28592859
2860- GridFunctions . clickFilterCellChip ( fix , 'ReleaseDate' ) ;
2861- tick ( 100 ) ;
2860+ GridFunctions . clickFilterCellChipUI ( fix , 'ReleaseDate' ) ;
2861+ await wait ( DEBOUNCETIME ) ;
28622862 fix . detectChanges ( ) ;
28632863
2864- GridFunctions . closeFilterRow ( fix ) ;
2865- tick ( 100 ) ;
2864+ grid . filteringRow . close ( ) ;
2865+ await wait ( ) ;
28662866 fix . detectChanges ( ) ;
28672867
28682868 // Verify 'ReleaseDate' filter chip is fully visible.
@@ -2871,7 +2871,7 @@ describe('IgxGrid - Filtering Row UI actions #grid', () => {
28712871 gridRect = grid . nativeElement . getBoundingClientRect ( ) ;
28722872 expect ( chipRect . left > gridRect . left && chipRect . right < gridRect . right ) . toBe ( true ,
28732873 'chip should be fully visible and within grid' ) ;
2874- } ) ) ;
2874+ } ) ;
28752875
28762876 it ( 'Verify condition chips are scrolled into/(out of) view by using arrow buttons.' , ( async ( ) => {
28772877 grid . width = '700px' ;
0 commit comments