vue check valid inputs code example
Example: vue test form input
wrapper.get('input[name=username]').setValue('someone')
await wrapper.vm.$nextTick() // is required to take effect.
wrapper.get('input[name=username]').setValue('someone')
await wrapper.vm.$nextTick() // is required to take effect.