Skip to content

Commit 02dd320

Browse files
committed
chore(*): Add debounce time to master detail test.
1 parent bcaf120 commit 02dd320

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ describe('IgxGrid Master Detail #grid', () => {
187187
fix.detectChanges();
188188

189189
GridFunctions.toggleMasterRow(fix, grid.rowList.last);
190-
await wait();
190+
await wait(DEBOUNCETIME);
191191
fix.detectChanges();
192192

193193
const lastRowDetail = GridFunctions.getMasterRowDetail(grid.rowList.last);
@@ -589,6 +589,8 @@ describe('IgxGrid Master Detail #grid', () => {
589589
GridFunctions.simulateCellKeydown(targetCellElement, 'End', false, false, true);
590590
await wait(DEBOUNCETIME);
591591
fix.detectChanges();
592+
await wait(DEBOUNCETIME);
593+
fix.detectChanges();
592594

593595
const lastRow = grid.getRowByIndex(52);
594596
expect(lastRow).not.toBeUndefined();

0 commit comments

Comments
 (0)