My e2e-test for ui-grid is the following:
- I'm adding the new item with the name that includes timestamp, saving it to the server.
- I'm checking if the item with this name has been added to the ui-grid table.
The problem is that the table can get very big and ui-grid apparently uses lazy loading and puts only the visible rows to the DOM. I found this library of helper methods for testing, but it doesn't provide anything to search for the rows which are not in visible now.
So, question, is one of the following is possible in my Protractor test? 1) can I check how many rows do I have in my ui-grid table? 2) can I search for the certain cell by text, even if the cell is not visible?