Skip to content
This repository has been archived by the owner on Jul 29, 2024. It is now read-only.

Repeater by row and column error when row is missing #366

Closed
wuzzeb opened this issue Dec 20, 2013 · 0 comments
Closed

Repeater by row and column error when row is missing #366

wuzzeb opened this issue Dec 20, 2013 · 0 comments
Milestone

Comments

@wuzzeb
Copy link

wuzzeb commented Dec 20, 2013

Code like

element.all(by.repeater("doesn't exist").row(0).column("foo").then(function(arr) {
    expect(arr.length).toBe(0);
});

Throws an error "UnknownError: unknown error: Cannot read property 'className' of undefined" Looking at lib/clientsidescripts.js in the findRepeaterElement function it should return an empty list if the row is not found.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant