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.
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.