title: Quasar jest test does not find elements with name tag
body: <p>I am trying to unit test my quasar application. I've managed to get started but am having a weird problem where the test is not finding elements with the name tag. The only components it DOES find are the q-route-tab components. </p>
  
  <p>For some reason, the q-route-tab tests work, it finds any number of q-route-tabs I add. But it doesn't find any other component. I've tried various other components. The example below is using a q-item-label. This may be a bug in Quasar but just wanted to see if there is something I'm missing. </p>
  
  <p>This is the NavBar component under test with the q-route-tabs</p>
  
  <pre><code>&lt;template&gt;
    &lt;div&gt;
      &lt;q-item&gt;
      &lt;q-item-label name="testLabel"&gt;Label&lt;/q-item-label&gt;
      &lt;/q-item&gt;
      &lt;q-tabs
        v-model="tab"
        class="text-white shadow-2"
      &gt;
        &lt;q-route-tab
          name="homeTab"
          icon="ion-home"
          label="Home"
          to="/home-layout/home"
        &gt;
          &lt;q-badge
            color="red"
            floating
          &gt;2&lt;/q-badge&gt;
        &lt;/q-route-tab&gt;
        &lt;q-route-tab
          name="membersTab"
          icon="ion-person"
          label="Members"
          to="/home-layout/members"
        /&gt;
        &lt;q-route-tab
          name="groupsTab"
          label="Groups"
          icon="ion-people"
          to="/home-layout/groups/false"
        &gt;
        &lt;/q-route-tab&gt;
        &lt;q-route-tab
          name="eventsTab"
          icon="ion-calendar"
          label="Events"
          to="/home-layout/events"
        /&gt;
      &lt;/q-tabs&gt;
    &lt;/div&gt;
  &lt;/template&gt;
  </code></pre>
  
  <p>This is the actual unit test suite:</p>
  
  <pre><code>import { mount, createLocalVue, shallowMount } from 'test-utils'
  import Navbar from '../../../src/Components/NavBar.vue'
  import * as All from 'quasar'
  // import langEn from 'quasar/lang/en-us' // change to any language you wish! =&gt; this breaks wallaby :(
  const { Quasar, date } = All
  
  const components = Object.keys(All).reduce((object, key) =&gt; {
      const val = All[key]
      if (val &amp;&amp; val.component &amp;&amp; val.component.name != null) {
          object[key] = val
      }
      return object
  }, {})
  
  describe('Mount Quasar', () =&gt; {
      const localVue = createLocalVue()
      localVue.use(Quasar, { components }) // , lang: langEn
  
      const wrapper = mount(Navbar, {
          localVue, 
          stubs: ['router-link', 'router-view']
      })
      const vm = wrapper.vm
  
      it('passes the sanity check and creates a wrapper', () =&gt; {
          expect(wrapper.isVueInstance()).toBe(true)
      })
  
      it('checks if all tabs are there', () =&gt; {
          // test will automatically fail if an exception is thrown
          expect(wrapper.find({ name: "homeTab" }).exists()).toBe(true)
          expect(wrapper.find({ name: "membersTab" }).exists()).toBe(true)
          expect(wrapper.find({ name: "groupsTab" }).exists()).toBe(true)
          expect(wrapper.find({ name: "eventsTab" }).exists()).toBe(true)
          expect(wrapper.find({ name: "testLabel" }).exists()).toBe(true) &lt;---This fails
      })
  })
  </code></pre>
  
  <p>This is the output of the test:</p>
  
  <pre><code> ● Mount Quasar › checks if all tabs are there
  
      expect(received).toBe(expected) // Object.is equality
  
      Expected: true
      Received: false
  
        39 |         expect(wrapper.find({ name: "groupsTab" }).exists()).toBe(true)
        40 |         expect(wrapper.find({ name: "eventsTab" }).exists()).toBe(true)
      &gt; 41 |         expect(wrapper.find({ name: "testLabel" }).exists()).toBe(true)
           |                                                               ^
        42 |     })
        43 | })
        44 |
  
        at Object.toBe (test/jest/__tests__/NavBar.spec.js:41:63)
  
  Test Suites: 1 failed, 2 passed, 3 total
  Tests:       1 failed, 9 passed, 10 total
  Snapshots:   0 total
  Time:        3.299s
  Ran all test suites.
  </code></pre>