title: vue-test-utils finding button does not work with find option object
body: <p>According to the <a href="https://vue-test-utils.vuejs.org/api/#selectors" rel="nofollow noreferrer">docs</a> an element of a wrapper can be found by name.</p>
  <blockquote>
  <p>Using a find option object, Vue Test Utils allows for selecting elements by a name of component on wrapper components.</p>
  </blockquote>
  <p>and the example given is</p>
  <pre><code>const buttonWrapper = wrapper.find({ name: 'my-button' })
  buttonWrapper.trigger('click')
  </code></pre>
  <p>In my vue component I have three buttons. I want to test function of all three buttons, but  I don't want to use <code>wrapper.findAll(&quot;button&quot;).at(1)</code> to select the second button, because when the order of the buttons is changed, the test fails. So I decided to name each button and find them by name using the option object.</p>
  <p>In my component I have:</p>
  <pre><code>&lt;button class=&quot;button is-success&quot; name=&quot;save-button&quot;&gt;Opslaan&lt;/button&gt;
  </code></pre>
  <p>In my test I have:</p>
  <pre><code>const button = wrappedAddSubject.find({name:&quot;save-button&quot;})
  </code></pre>
  <p>This returns <code>undefined</code> instead of the button. What am I doing wrong?</p>