I see this in my HTML after it is generated, in the browser:
<!-- ngRepeat: (promptId, q) in questions --> I want to get the first element, so I use:
it('add new comment thread', function () { element.all(by.repeater('(promptId, q) in questions')).first().click(); }); But I get an error:
Failed: Index out of bound. Trying to access element at index: 0, but there are only 0 elements that match locator by.repeater("(promptId, q) in questions")
There is clearly at least one child element here, so am I using by.repeater incorrectly?