Fix vue 3 jest spec failure for runner buttons
What does this MR do and why?
Related &14952 (closed)
This fixes issues with getting the tooltip value when running the spec with Vue 3. For some reason in Vue 3 mode, the wrapper represents the outer div, which does not have the tooltip directive, while in Vue 2 it does.
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.
Screenshots or screen recordings
How to set up and validate locally
- Run
VUE_VERSION=3 yarn jest spec/frontend/ci/runner/components/runner_pause_button_spec.js
--watch - Run
VUE_VERSION=3 yarn jest spec/frontend/ci/runner/components/runner_delete_button_spec.js
--watch - Checkout branch
- Run
VUE_VERSION=3 yarn jest spec/frontend/ci/runner/components/runner_pause_button_spec.js
--watch - Run
VUE_VERSION=3 yarn jest spec/frontend/ci/runner/components/runner_delete_button_spec.js
--watch - Run
VUE_VERSION=2 yarn jest spec/frontend/ci/runner/components/runner_pause_button_spec.js
--watch - Run
VUE_VERSION=2 yarn jest spec/frontend/ci/runner/components/runner_delete_button_spec.js
--watch
Edited by Lorenz van Herwaarden