Change findComponent to find for HTML tag
requested to merge 504669-make-ee-spec-frontend-integrations-edit-components-jira_issue_creation_vulnerabilities_spec into master
What does this MR do and why?
To fix Vue3 spec issue. When trying to find a simple HTML tag, we only need to use wrapper.find
instead of wrapper.findComponent
.
References
Please include cross links to any resources that are relevant to this MR. This will give reviewers and future readers helpful context to give an efficient review of the changes introduced.
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 changes.
How to set up and validate locally
Run the spec:
$ VUE_VERSION=3 yj ee/spec/frontend/integrations/edit/components/jira_issue_creation_vulnerabilities_spec.js
$ VUE_VERSION=3 yj spec/frontend/kubernetes_dashboard/components/workload_details_item_spec.js
Related to #504669 (closed)