You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(ByRole): Improve perf if multiple elements are found (#395)
* Add benchmmark
Still has +-20% in median runtime
* Extract isSubtreeInaccessible
Useful to inject more performant implementations
* Cache isSubtreeInaccessible calls
* Remove benchmark
"Unable to find an accessible element with the role "list"
122
124
123
125
There are no accessible roles. But there might be some inaccessible roles. If you wish to access them, then set the \`hidden\` option to \`true\`. Learn more about this here: https://testing-library.com/docs/dom-testing-library/api-queries#byrole
0 commit comments