Skip to content

Commit a00fc01

Browse files
committed
chore(row-pinning): Attemp for fixing test in azure
1 parent d7348d7 commit a00fc01

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ describe('Row Pinning #grid', () => {
304304
expect(grid.getRowByIndex(0).rowID).toBe(fix.componentInstance.data[1]);
305305
});
306306

307-
it('should pin rows when columns are grouped.', () => {
307+
it('should pin rows when columns are grouped.', async () => {
308308
grid.height = '650px';
309309
fix.detectChanges();
310310
// pin 1st and 2nd data row
@@ -336,6 +336,9 @@ describe('Row Pinning #grid', () => {
336336
grid.pinRow(fix.componentInstance.data[3]);
337337
fix.detectChanges();
338338

339+
await wait(DEBOUNCE_TIME);
340+
fix.detectChanges();
341+
339342
expect(grid.pinnedRows.length).toBe(3);
340343

341344
// make sure the pinned rows is in the unpinned area as disabled row

0 commit comments

Comments
 (0)