[Vuejs]-Vue-test-utils finding button does not work with find option object

0๐Ÿ‘

โœ…

I think "name" refers to the name of the component, not the attribute "name" of html element.

For ex, if you have a component:

Vue.component('save-button', {
  template: "<button>Click</button>
})

you can find this component by its name using your syntax.

Leave a comment