Skip to content

Commit 41a6c5b

Browse files
committed
chore(*): Add DEBOUNCETIME
1 parent 8d3bac2 commit 41a6c5b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -497,10 +497,10 @@ describe('IgxTreeGrid - Key Board Navigation #tGrid', () => {
497497
for (let i = 5; i < 9; i++) {
498498
let cell = treeGrid.getCellByColumn(i, 'ID');
499499
GridFunctions.simulateCellKeydown(cell, 'ArrowDown');
500-
await wait();
500+
await wait(DEBOUNCETIME);
501501
zone.simulateOnStable();
502502
fix.detectChanges();
503-
await wait();
503+
await wait(DEBOUNCETIME);
504504
zone.simulateOnStable();
505505
fix.detectChanges();
506506
TreeGridFunctions.verifyTreeGridCellSelected(treeGrid, cell, false);
@@ -511,10 +511,10 @@ describe('IgxTreeGrid - Key Board Navigation #tGrid', () => {
511511
for (let i = 9; i > 0; i--) {
512512
let cell = treeGrid.getCellByColumn(i, 'ID');
513513
GridFunctions.simulateCellKeydown(cell, 'ArrowUp');
514-
await wait();
514+
await wait(DEBOUNCETIME);
515515
zone.simulateOnStable();
516516
fix.detectChanges();
517-
await wait();
517+
await wait(DEBOUNCETIME);
518518
zone.simulateOnStable();
519519
fix.detectChanges();
520520
TreeGridFunctions.verifyTreeGridCellSelected(treeGrid, cell, false);

0 commit comments

Comments
 (0)