Skip to content

Commit cdd6644

Browse files
committed
test(filtering): Restoring help methods ticks #5627
1 parent d83e0ec commit cdd6644

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

projects/igniteui-angular/src/lib/test-utils/grid-functions.spec.ts

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -409,12 +409,11 @@ export class GridFunctions {
409409
input.nativeElement.dispatchEvent(new Event('keydown'));
410410
input.nativeElement.dispatchEvent(new Event('input'));
411411
input.nativeElement.dispatchEvent(new Event('keyup'));
412-
// fix.detectChanges();
412+
fix.detectChanges();
413413

414414
// Enter key to submit
415415
this.simulateKeyboardEvent(input, 'keydown', 'Enter');
416-
// this.simulateKeyboardEvent(input, 'keyup', 'Enter');
417-
// fix.detectChanges();
416+
fix.detectChanges();
418417
}
419418

420419
public static filterBy(condition: string, value: string, fix: ComponentFixture<any>) {
@@ -425,9 +424,9 @@ export class GridFunctions {
425424
const ddList = fix.debugElement.query(By.css('div.igx-drop-down__list.igx-toggle'));
426425
this.selectFilteringCondition(condition, ddList);
427426
// fix.detectChanges();
428-
tick(200);
429-
this.applyFilter(value, fix);
430-
tick(500);
427+
tick(100);
428+
this.applyFilter(value, fix);
429+
tick(100);
431430
}
432431

433432
public static typeValueInFilterRowInput(value: string, fix) {

0 commit comments

Comments
 (0)