@@ -414,7 +414,7 @@ describe('IgxGrid - Cell merging #grid', () => {
414414
415415 describe ( 'Activation' , ( ) => {
416416
417- it ( 'should interrupt merge sequence so that active row has no merging.' , ( ) => {
417+ it ( 'should interrupt merge sequence so that active row has no merging.' , async ( ) => {
418418 const col = grid . getColumnByName ( 'ProductName' ) ;
419419 GridFunctions . verifyColumnMergedState ( grid , col , [
420420 { value : 'Ignite UI for JavaScript' , span : 2 } ,
@@ -428,6 +428,7 @@ describe('IgxGrid - Cell merging #grid', () => {
428428 const row1 = grid . rowList . toArray ( ) [ 0 ] ;
429429
430430 UIInteractions . simulateClickAndSelectEvent ( row1 . cells . toArray ( ) [ 1 ] . nativeElement ) ;
431+ await wait ( 1 ) ;
431432 fix . detectChanges ( ) ;
432433
433434 GridFunctions . verifyColumnMergedState ( grid , col , [
@@ -451,14 +452,15 @@ describe('IgxGrid - Cell merging #grid', () => {
451452 fix . detectChanges ( ) ;
452453 } ) ;
453454
454- it ( 'should edit the individual row values for the active row.' , ( ) => {
455+ it ( 'should edit the individual row values for the active row.' , async ( ) => {
455456 const col = grid . getColumnByName ( 'ProductName' ) ;
456457 grid . rowEditable = true ;
457458 fix . detectChanges ( ) ;
458459
459460 const row = grid . gridAPI . get_row_by_index ( 0 ) ;
460461 const cell = grid . gridAPI . get_cell_by_index ( 0 , 'ProductName' ) ;
461462 UIInteractions . simulateDoubleClickAndSelectEvent ( cell . nativeElement ) ;
463+ await wait ( 1 ) ;
462464 fix . detectChanges ( ) ;
463465 expect ( row . inEditMode ) . toBe ( true ) ;
464466
@@ -652,13 +654,14 @@ describe('IgxGrid - Cell merging #grid', () => {
652654 expect ( activeHighlight [ 0 ] . closest ( "igx-grid-cell" ) ) . toBe ( cell0 ) ;
653655 } ) ;
654656
655- it ( 'should update matches if a cell becomes unmerged.' , ( ) => {
657+ it ( 'should update matches if a cell becomes unmerged.' , async ( ) => {
656658 let matches = grid . findNext ( 'JavaScript' ) ;
657659 fix . detectChanges ( ) ;
658660
659661 expect ( matches ) . toBe ( 2 ) ;
660662
661663 UIInteractions . simulateClickAndSelectEvent ( grid . gridAPI . get_cell_by_index ( 0 , 'ProductName' ) . nativeElement ) ;
664+ await wait ( 1 ) ;
662665 fix . detectChanges ( ) ;
663666
664667 matches = grid . findNext ( 'JavaScript' ) ;
0 commit comments