We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Following up http://stackoverflow.com/questions/31389521/protractor-by-repeater-not-finding-anything.
There is the following repeater:
item in filteredItems = (items | filter:'abc')
Currently, it is not possible to locate it by:
element.all(by.exactRepeater("item in filteredItems"));
We had to include everything before the pipe:
element.all(by.exactRepeater("item in filteredItems = (items"));
This is because the findAllRepeaterRows() "client side" function splits by "track by", "|" and "as" only:
findAllRepeaterRows()
return ngRepeat.split(' track by ')[0].split(' as ')[0].split('|')[0].trim() == repeater;
Should it also split by the equal sign =?
=
Thank you.
The text was updated successfully, but these errors were encountered:
Good catch
Sorry, something went wrong.
fix(by.exactRepeater): should split by "="
9fd632f
Closes angular#2335
f93a16d
b147033
That was quick. Many thanks!
No branches or pull requests
Following up http://stackoverflow.com/questions/31389521/protractor-by-repeater-not-finding-anything.
There is the following repeater:
Currently, it is not possible to locate it by:
We had to include everything before the pipe:
This is because the
findAllRepeaterRows()
"client side" function splits by "track by", "|" and "as" only:Should it also split by the equal sign
=
?Thank you.
The text was updated successfully, but these errors were encountered: