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

Should by.exactRepeater also split by "="? #2335

@alecxe

Description

@alecxe

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:

return ngRepeat.split(' track by ')[0].split(' as ')[0].split('|')[0].trim() == repeater;

Should it also split by the equal sign =?

Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions