Skip to content

Commit 7998165

Browse files
committed
chore(*): Increase time out for pointer events
1 parent d9597b2 commit 7998165

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

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

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -131,20 +131,20 @@ describe('IgxTreeGrid - Integration #tGrid', () => {
131131

132132
const header = TreeGridFunctions.getHeaderCell(fix, 'ID').nativeElement;
133133
UIInteractions.simulatePointerEvent('pointerdown', header, 50, 35);
134-
await wait(30);
135134
fix.detectChanges();
135+
await wait(100);
136136

137137
UIInteractions.simulatePointerEvent('pointermove', header, 56, 35);
138-
await wait(30);
139138
fix.detectChanges();
139+
await wait(100);
140140

141141
UIInteractions.simulatePointerEvent('pointermove', header, 550, 20);
142-
await wait(30);
143142
fix.detectChanges();
143+
await wait(100);
144144

145145
UIInteractions.simulatePointerEvent('pointerup', header, 550, 20);
146-
await wait(30);
147146
fix.detectChanges();
147+
await wait(100);
148148

149149
TreeGridFunctions.verifyTreeColumn(fix, 'Name', 4);
150150
});
@@ -320,20 +320,20 @@ describe('IgxTreeGrid - Integration #tGrid', () => {
320320

321321
const header = TreeGridFunctions.getHeaderCell(fix, 'ID').nativeElement;
322322
UIInteractions.simulatePointerEvent('pointerdown', header, 50, 35);
323-
await wait(30);
324323
fix.detectChanges();
324+
await wait(100);
325325

326326
UIInteractions.simulatePointerEvent('pointermove', header, 56, 35);
327-
await wait(30);
328327
fix.detectChanges();
328+
await wait(100);
329329

330330
UIInteractions.simulatePointerEvent('pointermove', header, 550, 20);
331-
await wait(30);
332331
fix.detectChanges();
332+
await wait(100);
333333

334334
UIInteractions.simulatePointerEvent('pointerup', header, 550, 20);
335-
await wait(30);
336335
fix.detectChanges();
336+
await wait(100);
337337

338338
TreeGridFunctions.verifyTreeColumn(fix, 'ParentID', 5);
339339
});

0 commit comments

Comments
 (0)