Skip to content

Commit 882fe2c

Browse files
committed
chore(*): use flush when opening esf
1 parent 751fe0f commit 882fe2c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4574,6 +4574,7 @@ describe('IgxGrid - Filtering actions - Excel style filtering #grid', () => {
45744574

45754575
it('Should reset esf menu with templates on column change', fakeAsync(() => {
45764576
GridFunctions.clickExcelFilterIconFromCode(fix, grid, 'Downloads');
4577+
flush();
45774578

45784579
let inputNativeElement = GridFunctions.getExcelStyleSearchComponentInput(fix);
45794580
UIInteractions.clickAndSendInputElementValue(inputNativeElement, 20, fix);
@@ -4582,6 +4583,7 @@ describe('IgxGrid - Filtering actions - Excel style filtering #grid', () => {
45824583
expect(listItems.length).toBe(2, 'incorrect rendered list items count');
45834584

45844585
GridFunctions.clickExcelFilterIconFromCode(fix, grid, 'ProductName');
4586+
flush();
45854587

45864588
inputNativeElement = GridFunctions.getExcelStyleSearchComponentInput(fix);
45874589
expect(inputNativeElement.value).toBe('', 'input value didn\'t reset');

0 commit comments

Comments
 (0)