Skip to content

Fix a few work item tests to pass in Vue 3

Natalia Tepluhina requested to merge ntepluhina-fix-vue-3-specs into master

What does this MR do and why?

This MR fixes the following tests:

  • ee/spec/frontend/work_items/components/work_item_attributes_wrapper_spec.js
  • spec/frontend/work_items/components/notes/work_item_note_spec.js
  • spec/frontend/work_items/components/work_item_development/work_item_development_ff_item_spec.js
  • spec/frontend/work_items/components/work_item_detail_modal_spec.js

And reduces the number of failing tests in spec/frontend/work_items/components/work_item_description_rendered_spec.js

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

No visual changes

How to set up and validate locally

Run the following tests in Vue 3 mode:

VUE_VERSION=3 yarn jest ee/spec/frontend/work_items/components/work_item_attributes_wrapper_spec.js
VUE_VERSION=3 yarn jest spec/frontend/work_items/components/notes/work_item_note_spec.js
VUE_VERSION=3 yarn jest spec/frontend/work_items/components/work_item_development/work_item_development_ff_item_spec.js
VUE_VERSION=3 yarn jest spec/frontend/work_items/components/work_item_detail_modal_spec.js
Edited by Natalia Tepluhina

Merge request reports

Loading