Skip to content

Commit d353ee4

Browse files
authored
Merge branch 'master' into bpenkov/date-time-editor
2 parents 318b399 + f420056 commit d353ee4

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

projects/igniteui-angular/src/lib/grids/hierarchical-grid/hierarchical-grid.navigation.spec.ts

+3-2
Original file line numberDiff line numberDiff line change
@@ -271,18 +271,19 @@ describe('IgxHierarchicalGrid Basic Navigation #hGrid', () => {
271271
}));
272272

273273
it('should scroll top of child grid into view when pressing Ctrl + Arrow Up when cell is selected in it.', (async () => {
274-
pending('related to the bug #7118');
275274
hierarchicalGrid.verticalScrollContainer.scrollTo(7);
276275
fixture.detectChanges();
277276
await wait(DEBOUNCE_TIME);
277+
hierarchicalGrid.verticalScrollContainer.scrollTo(7);
278278
fixture.detectChanges();
279+
await wait(DEBOUNCE_TIME);
279280

280281
const childGrid = hierarchicalGrid.hgridAPI.getChildGrids(false)[3];
281282

282283
const childLastRowCell = childGrid.dataRowList.toArray()[9].cells.toArray()[0];
284+
const childGridContent = fixture.debugElement.queryAll(By.css(GRID_CONTENT_CLASS))[1];
283285
GridFunctions.focusCell(fixture, childLastRowCell);
284286
fixture.detectChanges();
285-
const childGridContent = fixture.debugElement.queryAll(By.css(GRID_CONTENT_CLASS))[1];
286287
UIInteractions.triggerEventHandlerKeyDown('arrowup', childGridContent, false, false, true);
287288
fixture.detectChanges();
288289
await wait(200);

0 commit comments

Comments
 (0)