title: How to find input by span in React-testing-library?
body: <p>How can I find the checkbox for by text from span element? I can't modify my HTML.
  I wish test fireEvent on input element.</p>
  <p>`</p>
  <pre><code>&lt;label&gt;
     &lt;div&gt;
        &lt;input type=&quot;checkbox&quot; class=&quot;checkbox-extra-style&quot;&gt;
        &lt;span&gt; SPAN A&lt;/span&gt;
     &lt;/div&gt;
  &lt;/label&gt;
  &lt;label&gt;
     &lt;div&gt;
        &lt;input type=&quot;checkbox&quot; class=&quot;checkbox-extra-style&quot;&gt;
        &lt;span&gt; SPAN B&lt;/span&gt;
     &lt;/div&gt;
  &lt;/label&gt;
  </code></pre>
  <p>`
  ....</p>
  <p>Thanks a lot for any help.</p>