Skip to content

Commit 17715f8

Browse files
committed
chore(*): address review comments
1 parent cc5f569 commit 17715f8

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

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

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,6 @@ describe('IgxGrid - Keyboard navigation #grid', () => {
170170

171171
it('should allow vertical keyboard navigation in pinned area.', fakeAsync(() => {
172172
grid.getColumnByName('Name').pinned = true;
173-
tick();
174173
fix.detectChanges();
175174
let selectedCell;
176175
const firstCell = GridFunctions.getRowCells(fix, 0)[0];
@@ -180,7 +179,6 @@ describe('IgxGrid - Keyboard navigation #grid', () => {
180179
selectedCell = event.cell;
181180
});
182181
firstCell.triggerEventHandler('focus', null);
183-
tick(100);
184182
fix.detectChanges();
185183

186184
expect(selectedCell.value).toEqual('Casey Houston');
@@ -204,7 +202,6 @@ describe('IgxGrid - Keyboard navigation #grid', () => {
204202
it('should allow horizontal keyboard navigation between start pinned area and unpinned area.', fakeAsync(() => {
205203
grid.getColumnByName('Name').pinned = true;
206204
grid.getColumnByName('Company').pinned = true;
207-
tick();
208205
fix.detectChanges();
209206

210207
let selectedCell;
@@ -217,7 +214,6 @@ describe('IgxGrid - Keyboard navigation #grid', () => {
217214
selectedCell = event.cell;
218215
});
219216
firstPinnedCell.triggerEventHandler('focus', null);
220-
tick(100);
221217
fix.detectChanges();
222218

223219
UIInteractions.triggerEventHandlerKeyDownWithBlur('arrowright', firstPinnedCell);
@@ -780,7 +776,7 @@ describe('IgxGrid - Keyboard navigation #grid', () => {
780776
with keyboard and the grid is scrolled to the bottom`, (async () => {
781777

782778
grid.verticalScrollContainer.scrollTo(grid.dataView.length - 1);
783-
await wait(30);
779+
await wait(DEBOUNCETIME);
784780
fix.detectChanges();
785781

786782
let groupedRowsCount = grid.groupsRowList.length;

0 commit comments

Comments
 (0)