vue test-util wrapper how to set value for input field 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.