title: How to get button text in vue-test-utils
body: <p>How do I retrieve the button text from a found element in <code>vue-test-utils</code>? I am using v1.0.0-beta.10</p>
  
  <p>For example, in my vue file I have a button like:</p>
  
  <pre><code>el-button(@click.native="cancel",
            size="small",
            native-type="button") Cancel
  </code></pre>
  
  <p>Then in my tests:</p>
  
  <pre><code>const button = wrapper.findAll({
    name: "el-button"
  })
  
  console.log('buttonAll is', button.at(2).vnode.$attrs) // {}
  </code></pre>
  
  <p>I get an empty object. Even better, how can I directly query that Vue component based on button text?</p>