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.
`
<label>
<div>
<input type="checkbox" class="checkbox-extra-style">
<span> SPAN A</span>
</div>
</label>
<label>
<div>
<input type="checkbox" class="checkbox-extra-style">
<span> SPAN B</span>
</div>
</label>
` ....
Thanks a lot for any help.