File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
projects/igniteui-angular/src/lib/grids/grid Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -421,7 +421,7 @@ describe('IgxGrid - Headers Keyboard navigation #grid', () => {
421421 expect ( GridFunctions . getAdvancedFilteringComponent ( fix ) ) . not . toBeNull ( ) ;
422422 } ) ;
423423
424- it ( 'Advanced Filtering: Should be able to close Advanced filtering with "escape"' , async ( ) => {
424+ it ( 'Advanced Filtering: Should be able to close Advanced filtering with "escape"' , fakeAsync ( ( ) => {
425425 // Enable Advanced Filtering
426426 grid . allowAdvancedFiltering = true ;
427427 fix . detectChanges ( ) ;
@@ -440,14 +440,14 @@ describe('IgxGrid - Headers Keyboard navigation #grid', () => {
440440
441441 const afDialog = fix . nativeElement . querySelector ( '.igx-advanced-filter' ) ;
442442 UIInteractions . triggerKeyDownEvtUponElem ( 'Escape' , afDialog ) ;
443- await wait ( DEBOUNCETIME ) ;
443+ tick ( DEBOUNCETIME ) ;
444444 fix . detectChanges ( ) ;
445445
446446 // Verify AF dialog is closed.
447447 header = GridFunctions . getColumnHeader ( 'Name' , fix ) ;
448448 expect ( GridFunctions . getAdvancedFilteringComponent ( fix ) ) . toBeNull ( ) ;
449449 GridFunctions . verifyHeaderIsFocused ( header . parent ) ;
450- } ) ;
450+ } ) ) ;
451451
452452
453453 it ( 'Column selection: Should be able to select columns when columnSelection is multi' , ( ) => {
You can’t perform that action at this time.
0 commit comments