unit testing a siubmoit form vuejs 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.