Skip to content

Commit 90c0472

Browse files
MKirovaMKirova
authored andcommitted
chore(*): Fix test timing.
1 parent 75a34bd commit 90c0472

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ describe('IgxGrid - Cell component #grid', () => {
248248
});
249249
});
250250

251-
xit('Should not clear selected cell when scrolling with mouse wheel', (async () => {
251+
it('Should not clear selected cell when scrolling with mouse wheel', (async () => {
252252
const cell = grid.gridAPI.get_cell_by_index(3, 'value');
253253
UIInteractions.simulateClickAndSelectEvent(cell);
254254
fix.detectChanges();
@@ -260,8 +260,8 @@ describe('IgxGrid - Cell component #grid', () => {
260260

261261
const gridContent = GridFunctions.getGridContent(fix);
262262
UIInteractions.triggerEventHandlerKeyDown('arrowup', gridContent);
263+
await wait(16);
263264
fix.detectChanges();
264-
await wait(30);
265265

266266
expect(grid.getCellByColumn(2, 'value').selected).toBeTruthy();
267267
}));

0 commit comments

Comments
 (0)