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

feat(protractor): implement reduce and filter for ElementArrayFinder #945

Closed
wants to merge 2 commits into from

Conversation

hankduan
Copy link
Contributor

See #877

@elgalu
Copy link
Contributor

elgalu commented Jun 18, 2014

Very cool!

@hankduan hankduan added this to the 1.0 milestone Jun 18, 2014
* return text === 'Third';
* });
* }).then(function(filteredElements) {
* return filteredElements.length;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you have this example use filteredElements[0] as an ElementFinder to show what its type is?

@juliemr
Copy link
Member

juliemr commented Jun 18, 2014

Some comments on the comments, but the rest LGTM.

@hankduan
Copy link
Contributor Author

Fixed comments

@hankduan hankduan added cla: yes and removed cla: no labels Jun 18, 2014
@juliemr
Copy link
Member

juliemr commented Jun 19, 2014

Looks good, feel free to merge.

@hankduan
Copy link
Contributor Author

merged with c892c2a

@hankduan hankduan closed this Jun 19, 2014
@hankduan hankduan deleted the filter branch October 14, 2014 21:12
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants