title: getByText doesn't find the element
body: <p>I want to see if at least part of text is rendered..</p>
  <pre><code>&lt;li&gt;
     Click here &amp;nbsp;
     &lt;a
       id=&quot;myLink&quot;
       className=&quot;xxxxx&quot;
       target=&quot;_blank&quot;
       rel=&quot;noreferrer&quot;
       href=&quot;https://www.aaa.com&quot;
     &gt;
        to open xxx.
     &lt;/a&gt;
  &lt;/li&gt;
  </code></pre>
  <p>and test fails with:</p>
  <pre><code>xxxxxx.getByText('Click here')
  </code></pre>
  <p>but works fine if 'Click here' is only the text of that <li>
  is there a method to do partial search?</p>