Skip to content

Test update multiple files to use shallowMount

David O'Regan requested to merge 497810-workflow-vue-3 into master

What does this MR do and why?

Tes update multiple files to use shallowMount

  • Replaced mount with shallowMount to stub child components and eliminate related errors.
  • Handled named slots by stubbing child components with named slots.
  • Updated element finding logic to find child components and test their props and emits.
  • Ensured compatibility with both Vue 2 and Vue 3.

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

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

Related to #497810

Merge request reports

Loading