diff --git a/e2e/tests-app-ng/app/list-view/async-pipe-template.component.ts b/e2e/tests-app-ng/app/list-view/async-pipe-template.component.ts index 7e33b639d..fab165dd4 100644 --- a/e2e/tests-app-ng/app/list-view/async-pipe-template.component.ts +++ b/e2e/tests-app-ng/app/list-view/async-pipe-template.component.ts @@ -43,10 +43,13 @@ export class ListViewAsyncPipeComponent { counter++; items.push(new DataItem(counter, "data item " + counter)); subscr.next(items); + if (counter == 11) { + clearInterval(intervalId); + } }, 1000); setTimeout(() => { clearInterval(intervalId); - }, 10000); + }, 11000); } }