Replace findAll with findAllComponents
Note: This issue is closed. See #2163 (comment 1285105010) for more info.
Summary
Replace all find*
occurrences with findComponents
or querySelector
in spec files.
As noted in the vue-test-utils docs:
Using
findAll
to search for Components is deprecated and will be removed. UsefindAllComponents
instead. ThefindAll
method will continue to work for finding elements using any valid selector.
Also see: https://v1.test-utils.vuejs.org/upgrading-to-v1/#find
Implementation plan
-
If we're using findAll
to search for components, replace it with findAllComponent. -
If we're using find
to search for a component, replace it withfindComponent
-
If we're using find
to search for a DOM Node, replace it withquerySelector
-
If we're using findAll
to search DOM Nodes, replace it withquerySelectorAll
Edited by Savas Vedova