But with happy-dom, dom-testing-library says that the textbox is a searchbox
What happened:
TestingLibraryElementError: Unable to find an accessible element with the role "textbox" and name `/name/i`
Here are the accessible roles:
searchbox:
Name "name":
<input
aria-label="name"
defaultvalue="hello"
id="name"
style="max-width: 280px;"
type="text"
/>
@testing-library/dom
version: 8.11.3DOM Environment: happy-dom@3.1.1
Relevant code or config:
What you did:
dom-testing-library
says that the textbox is a searchboxWhat happened:
Reproduction:
yarn jest
Problem description:
Suggested solution: