Skip to content
New issue

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

Throw error when selector matches more than one element and one is expected #1

Closed
krzysztof-jelski opened this issue Dec 21, 2017 · 2 comments
Assignees

Comments

@krzysztof-jelski
Copy link
Contributor

I verified that operations that use find in fact work on the first found element. Instead there should be an error raised that the selector matches more than one element.

It's also not in-line with the docs, as those claim the error will be raised.

Find uses debugElement.query, so in fact it's somehow related to how this function behaves.

@HubertLegec
Copy link
Contributor

Will be fixed when #15 is merged.

@HubertLegec HubertLegec moved this from In progress to Done in ng-test-runner Dec 29, 2018
@HubertLegec
Copy link
Contributor

Fixed in v1.1.8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

2 participants