Not all automated testing tools support Shadow DOM in web components - Manuel Matuzovic
posted on 02.01.2024
There isn't much more to say; it's all in the title.
Many automated testing tools are a collection of JavaScript functions you run on a page. Most of those rely on querying the DOM. If a tool doesn't consider shadow trees, it only catches accessibility errors in the Light DOM, which may give you a wrong sense of safety and potentially affect your users.
That's one more reason not to rely on automated testing only.
That doesn't mean you shouldn't use automated testing if your...
Read more at matuzo.at