File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed
projects/igniteui-angular/src/lib/test-utils Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff 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 ) {
You can’t perform that action at this time.
0 commit comments