jeudi 2 juillet 2015

Protractor: How to check if the table/grid is populated?

I wanted to check if my table/grid is populated using Protractor. I believe I can do this with something like:

expect(element.all(by.repeater('someRepeate')).count()).toBe(somecount);

But the problem is I don't know the exact count as it is dynamically populated. Anyone has any idea how could I accomplish this? Thanks.

Aucun commentaire:

Enregistrer un commentaire