@@ -2899,8 +2899,8 @@ describe('IgxGrid - Filtering Row UI actions', () => {
28992899
29002900 it ( 'Verify condition chips are scrolled into/(out of) view by using arrow buttons.' , ( async ( ) => {
29012901 grid . width = '700px' ;
2902- await wait ( 100 ) ;
29032902 fix . detectChanges ( ) ;
2903+ await wait ( 100 ) ;
29042904
29052905 GridFunctions . clickFilterCellChip ( fix , 'ProductName' ) ;
29062906 fix . detectChanges ( ) ;
@@ -2928,13 +2928,15 @@ describe('IgxGrid - Filtering Row UI actions', () => {
29282928 leftArrowButton . click ( ) ;
29292929 await wait ( 300 ) ;
29302930 leftArrowButton . click ( ) ;
2931+ fix . detectChanges ( ) ;
29312932 await wait ( 300 ) ;
29322933 verifyMultipleChipsVisibility ( fix , [ false , true , false ] ) ;
29332934
29342935 // Click left arrow 2 times.
29352936 leftArrowButton . click ( ) ;
29362937 await wait ( 300 ) ;
29372938 leftArrowButton . click ( ) ;
2939+ fix . detectChanges ( ) ;
29382940 await wait ( 300 ) ;
29392941 verifyMultipleChipsVisibility ( fix , [ true , false , false ] ) ;
29402942
@@ -2943,21 +2945,23 @@ describe('IgxGrid - Filtering Row UI actions', () => {
29432945 rightArrowButton . click ( ) ;
29442946 await wait ( 300 ) ;
29452947 rightArrowButton . click ( ) ;
2948+ fix . detectChanges ( ) ;
29462949 await wait ( 300 ) ;
29472950 verifyMultipleChipsVisibility ( fix , [ false , true , false ] ) ;
29482951
29492952 // Click right arrow 2 times.
29502953 rightArrowButton . click ( ) ;
29512954 await wait ( 300 ) ;
29522955 rightArrowButton . click ( ) ;
2956+ fix . detectChanges ( ) ;
29532957 await wait ( 300 ) ;
29542958 verifyMultipleChipsVisibility ( fix , [ false , false , true ] ) ;
29552959 } ) ) ;
29562960
29572961 it ( 'Should navigate from left arrow button to first condition chip Tab.' , ( async ( ) => {
29582962 grid . width = '700px' ;
2959- await wait ( 100 ) ;
29602963 fix . detectChanges ( ) ;
2964+ await wait ( 100 ) ;
29612965
29622966 GridFunctions . clickFilterCellChip ( fix , 'ProductName' ) ;
29632967 fix . detectChanges ( ) ;
@@ -2982,6 +2986,8 @@ describe('IgxGrid - Filtering Row UI actions', () => {
29822986 verifyChipVisibility ( fix , 0 , false ) ;
29832987
29842988 const leftArrowButton = GridFunctions . getFilterRowLeftArrowButton ( fix ) . nativeElement ;
2989+ leftArrowButton . focus ( ) ;
2990+ await wait ( 16 ) ;
29852991 leftArrowButton . dispatchEvent ( new KeyboardEvent ( 'keydown' , { key : 'Tab' } ) ) ;
29862992 await wait ( 300 ) ;
29872993
0 commit comments