Skip to content

Add HTML method plugin for vue_compat_test_setup

Artur Fedorov requested to merge 478265-vue3-html-content into master

What does this MR do and why?

This MR Fixes all failing tests

Testing against empty string would pass in VUE 2

But VUE 3 renders empty components differently and all tests fail in VUE 3 mode

This MR adds plugins for vue-test-utils to fix failing tests

List of failing tests

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
Screenshot 2024-08-10 at 23.51.39.png Screenshot 2024-08-10 at 23.51.51.png

How to set up and validate locally

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

  1. Run VUE_VERSION=3 yarn jest --watch 
  2. Checkout branch
  3. Run VUE_VERSION=3 yarn jest --watch 

Related to #478265

Merge request reports