I want to check the elements creates in html '*ngFor' with a Array in .ts , But I don't found documentation about it.
.ts :
steps: Array<number> = [1, 2, 3, 4, 5];
html :
<section class='mycontainer'>
<article class="myArticle{{ steps.length }}">
<div class='line'></div>
<div *ngFor="let numberStep of steps;" class='circle'></div>
</article>
</section>
I need check in spect.ts the elements create with ngFor