Vue 3: Fixes usages of WrapperArray when combined with filter()

What does this MR do and why?

This change improves (some) tests that depend on a deprecated behavior of WrapperArray so they can be run in VTU 2.

About the fixed files

While working on fixing tests for ee/spec/frontend/ci/runner/components/stat/runner_upgrade_status_stats_spec.js, I found that I could quickly fix tests that have a similar pattern, where a wrappers array could be obtained from a findAllComponents call. More tests fail in a similar way, this aimed to address some low hanging fruit in our suite.

References

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #503489 (closed)

Edited by Miguel Rincon

Merge request reports

Loading