@@ -151,24 +151,28 @@ describe('IgxHierarchicalGrid Basic Navigation #hGrid', () => {
151151 } ) ) ;
152152
153153 it ( 'should allow navigating to start in child grid when child grid target row moves outside the parent view port.' , ( async ( ) => {
154+ pending ( 'related to the bug #7091' ) ;
154155 hierarchicalGrid . verticalScrollContainer . scrollTo ( 2 ) ;
155156 await wait ( DEBOUNCE_TIME ) ;
156157 fixture . detectChanges ( ) ;
157158
158159 const childGrid = hierarchicalGrid . hgridAPI . getChildGrids ( false ) [ 0 ] ;
159160 const horizontalScrDir = childGrid . dataRowList . toArray ( ) [ 0 ] . virtDirRow ;
160161 horizontalScrDir . scrollTo ( 6 ) ;
161- await wait ( 100 ) ;
162+ fixture . detectChanges ( ) ;
163+ await wait ( DEBOUNCE_TIME ) ;
162164 fixture . detectChanges ( ) ;
163165 const childLastCell = childGrid . dataRowList . toArray ( ) [ 9 ] . cells . toArray ( ) [ 3 ] ;
164- UIInteractions . simulateClickAndSelectCellEvent ( childLastCell ) ;
166+ GridFunctions . focusCell ( fixture , childLastCell ) ;
165167 await wait ( DEBOUNCE_TIME ) ;
166168 fixture . detectChanges ( ) ;
167169
168170 const childGridContent = fixture . debugElement . queryAll ( By . css ( GRID_CONTENT_CLASS ) ) [ 1 ] ;
169171 UIInteractions . triggerEventHandlerKeyDown ( 'home' , childGridContent , false , false , true ) ;
170- await wait ( 200 ) ;
171172 fixture . detectChanges ( ) ;
173+ await wait ( DEBOUNCE_TIME ) ;
174+ fixture . detectChanges ( ) ;
175+ await wait ( DEBOUNCE_TIME ) ;
172176
173177 const selectedCell = fixture . componentInstance . selectedCell ;
174178 expect ( selectedCell . value ) . toEqual ( 0 ) ;
@@ -269,6 +273,7 @@ describe('IgxHierarchicalGrid Basic Navigation #hGrid', () => {
269273
270274 it ( 'should scroll top of child grid into view when pressing Ctrl + Arrow Up when cell is selected in it.' , ( async ( ) => {
271275 hierarchicalGrid . verticalScrollContainer . scrollTo ( 7 ) ;
276+ fixture . detectChanges ( ) ;
272277 await wait ( DEBOUNCE_TIME ) ;
273278 fixture . detectChanges ( ) ;
274279
0 commit comments