Skip to content

Commit c0f016f

Browse files
wnvkojackofdiamond5
authored andcommitted
test(simple-combo): increase wait time, #9832
1 parent 5a39176 commit c0f016f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

projects/igniteui-angular/src/lib/simple-combo/simple-combo.component.spec.ts

+4-4
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ describe('IgxSimpleCombo', () => {
352352

353353
productIndex = 42;
354354
combo.virtualScrollContainer.scrollTo(productIndex);
355-
await wait();
355+
await wait(100);
356356
fixture.detectChanges();
357357
verifyComboData();
358358
// index is at bottom
@@ -361,21 +361,21 @@ describe('IgxSimpleCombo', () => {
361361

362362
productIndex = 485;
363363
combo.virtualScrollContainer.scrollTo(productIndex);
364-
await wait(30);
364+
await wait(100);
365365
fixture.detectChanges();
366366
verifyComboData();
367367
expect(combo.virtualizationState.startIndex + combo.virtualizationState.chunkSize - 1)
368368
.toEqual(productIndex);
369369

370370
productIndex = 873;
371371
combo.virtualScrollContainer.scrollTo(productIndex);
372-
await wait();
372+
await wait(100);
373373
fixture.detectChanges();
374374
verifyComboData();
375375

376376
productIndex = 649;
377377
combo.virtualScrollContainer.scrollTo(productIndex);
378-
await wait();
378+
await wait(100);
379379
fixture.detectChanges();
380380
verifyComboData();
381381
}));

0 commit comments

Comments
 (0)