I want to check that mine ng-repeatgenerates more than 1 element.
<div ng-repeat="topic in topics">
<div class="topic-name">{{topic.name}}</div>
</div>
How can i do this? I can not find in the docs ...
Is there something like this?
expect(element.all(by.repeater('topic in topics')).count()).toBeMoreThan(1);
source
share