New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Component] [Form] Import { ElForm, ElFormItem } from "element-plus" write unit test validate is incorrect #15053
Comments
Hi @lequangdongg, |
Thanks @cuongle-hdwebsoft, currently I am using the latest branch |
Why you don't use |
I realize that you are installing |
I understand but if replace |
when i write UT with form in my source code it won't be as i expected |
Installing |
This is example code
my expected, it must go into |
Hi @lequangdongg, here is my reproduced code index.test.ts
MyComponent.vue
If you go to Look at Once you change it, run that test again, and your You can find out about this issue here more |
Bug Type:
Component
Environment
3.2.27
2.4.3
Version 104.0.5112.79 (Official Build) (x86_64)
Vite
Reproduction
Related Component
el-form
el-form-item
Steps to reproduce
import from 'element-plus' form validate incorrect
de0-44e3-b548-e8e96a2523fb">It will be correct when imported as is
What is Expected?
Unit test form validate correct
What is actually happening?
validate incorrect
Additional comments
(empty)
The text was updated successfully, but these errors were encountered: