Closed
Description
Feature Description
wrapper.findAllComponents()
should Take CSS selectors as an argument.
Well maybe I'm doing something wrong by not throwing refs on every tiny element in my component or making sub components out of every div, but how can I safely test the amount of elements rendered to a list by referencing their class
selector when I should not be using the findAll() method anymore?
Am I missing something (which is definitely not unlikely)? If not, this feature would be well appreciated.
Problem
wrapper.findAll()
Has a deprecation warning, the suggested substitute wrapper.findAllComponents()
does not cover the functionality.
Expected behaviour
As described in the Feature Description
Alternatives
An additional wrapper.findAllElements()
function.
Metadata
Metadata
Assignees
Labels
No labels