I want to see if at least part of text is rendered..
<li>
Click here
<a
id="myLink"
className="xxxxx"
target="_blank"
rel="noreferrer"
href="https://www.aaa.com"
>
to open xxx.
</a>
</li>
and test fails with:
xxxxxx.getByText('Click here')
but works fine if 'Click here' is only the text of that