Skip to content

Commit a7ea9b4

Browse files
MKirovaMayaKirova
authored andcommitted
chore(*): Fis test with Ivy:false.
1 parent 9a22f3b commit a7ea9b4

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1158,7 +1158,7 @@ describe('IgxHierarchicalGrid Runtime Row Island change Scenarios #hGrid', () =>
11581158
expect(row.expander).not.toBe(undefined);
11591159
}));
11601160

1161-
it('should allow changing row islands runtime in child grid.', () => {
1161+
it('should allow changing row islands runtime in child grid.', async() => {
11621162
const row = hierarchicalGrid.getRowByIndex(0) as IgxHierarchicalRowComponent;
11631163
UIInteractions.simulateClickAndSelectEvent(row.expander);
11641164
fixture.detectChanges();
@@ -1174,6 +1174,8 @@ describe('IgxHierarchicalGrid Runtime Row Island change Scenarios #hGrid', () =>
11741174

11751175
fixture.componentInstance.toggleChildRI = false;
11761176
fixture.detectChanges();
1177+
await wait(30);
1178+
fixture.detectChanges();
11771179

11781180
hGrids = fixture.debugElement.queryAll(By.css('igx-hierarchical-grid'));
11791181
childGrid = hierarchicalGrid.hgridAPI.getChildGrids()[0];
@@ -1182,6 +1184,8 @@ describe('IgxHierarchicalGrid Runtime Row Island change Scenarios #hGrid', () =>
11821184

11831185
fixture.componentInstance.toggleChildRI = true;
11841186
fixture.detectChanges();
1187+
await wait(30);
1188+
fixture.detectChanges();
11851189

11861190
hGrids = fixture.debugElement.queryAll(By.css('igx-hierarchical-grid'));
11871191
childGrid = hierarchicalGrid.hgridAPI.getChildGrids()[0];

0 commit comments

Comments
 (0)