Skip to content

Commit

Permalink
test(simple-combo): increase wait time, #9832
Browse files Browse the repository at this point in the history
  • Loading branch information
wnvko authored and jackofdiamond5 committed Nov 9, 2021
1 parent cae330c commit bfaf1d7
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ describe('IgxSimpleCombo', () => {

productIndex = 42;
combo.virtualScrollContainer.scrollTo(productIndex);
await wait();
await wait(100);
fixture.detectChanges();
verifyComboData();
// index is at bottom
Expand All @@ -361,21 +361,21 @@ describe('IgxSimpleCombo', () => {

productIndex = 485;
combo.virtualScrollContainer.scrollTo(productIndex);
await wait(30);
await wait(100);
fixture.detectChanges();
verifyComboData();
expect(combo.virtualizationState.startIndex + combo.virtualizationState.chunkSize - 1)
.toEqual(productIndex);

productIndex = 873;
combo.virtualScrollContainer.scrollTo(productIndex);
await wait();
await wait(100);
fixture.detectChanges();
verifyComboData();

productIndex = 649;
combo.virtualScrollContainer.scrollTo(productIndex);
await wait();
await wait(100);
fixture.detectChanges();
verifyComboData();
}));
Expand Down

0 comments on commit bfaf1d7

Please sign in to comment.