Skip to content

Fix component registration in tests for vue 3 migration

What does this MR do and why?

This MR fixes component registration in tests

Certain tests are failing with Vue.js 3 due to missing component registration

When running in VUE 3 mode, there will be a snapshot failure. Snapshots will be fixed in separate issue, this fix is only about missing component registrations

Partially resolves #428424 (closed)

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.

***NO VISUAL CHANGES***

How to set up and validate locally

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

  1. stay on master, run VUE_VERSION=3 yarn jest --watch and selected test file name
  2. Make sure there are errors run just yarn jest --watch and selected test file name and make sure there are no errors
  3. Checkout branch repeat same commands, there should be no errors for both commands

Related to #428424 (closed)

Edited by Artur Fedorov

Merge request reports