Create itSkipVue3 to skip specific tests for Vue 3
The following discussion from !172643 (merged) should be addressed:
-
@markrian started a discussion: (+4 comments)
@aturinske asked about the CI timeouts in the pipeline on Slack. Reposting my comments here:
Ah, I see. I wonder if the changes in that MR are triggering some pathological behaviour under Vue 3, similar to #458409
Yes, it's definitely due to the changes in the MR. Running VUE_VERSION=3 yarn jest ee/spec/frontend/security_orchestration/components/policy_editor/editor_wrapper_spec.js locally on that branch hangs indefinitely, while on master it passes.
It seems to be specifically hanging due to the shows the errors when the subscription fails due to a configuration issue test - skipping it makes the suite pass
Implementation
Extend our existing Vue 3 conditional test helpers. We have describeSkipVue3
, so add itSkipVue3
that would ensure the test runs under Vue 2, but would be skipped under Vue 3.