Fix Vue 3 spec email_verification_spec

What does this MR do and why?

Fix Vue 3 failing test

Add waitForPromises

Vue 3 has 2 ticks as email_verification.vue explicitly use this.$nextTick

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. Run test locally VUE_VERSION=3 yarn jest path-to-spec
  2. Checkout branch
  3. Run test locally VUE_VERSION=3 yarn jest path-to-spec

template sourced from https://gitlab.com/gitlab-org/gitlab/-/blob/master/.gitlab/merge_request_templates/Default.md

Related to #522029 (closed)

Edited by Artur Fedorov

Merge request reports

Loading