Fix tests which are failing in @vue/test-utils 1.x" due to search by name
What does this MR do?
Related issue: #240756 (closed)
VTU 1.x will deprecate .find()
by passing name, i.e. .find({ name: 'foo' })
and in certain cases it fails in such search (not just throwing deprecation warning)
This MR refactors such .find
instances from our code base
Screenshots
N/A
Does this MR meet the acceptance criteria?
Conformity
- [-] Changelog entry
- [-] Documentation (if required)
-
Code review guidelines -
Merge request performance guidelines -
Style guides - [-] Database guides
- [-] Separation of EE specific content
Availability and Testing
-
Review and add/update tests for this feature/bug. Consider all test levels. See the Test Planning Process. - [-] Tested in all supported browsers
- [-] Informed Infrastructure department of a default or new setting change, if applicable per definition of done
Edited by Illya Klymov