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
Unfortunately, we're not yet able to even start a test suite because of an Invalid selector "[q\\:shadowroot]" error is raised when trying to render a Qwik app.
Describe the bug
In Qwik, we use different selectors which contain a : colon to query the DOM, but it seems to be rejected by happy-dom even though they are valid selectors (and accepted by all browsers + jsdom).
I'm one of the maintainers of https://github.com/ianlet/qwik-testing-library and I'm working on adding support for
happy-dom
for devs who prefer using it.Unfortunately, we're not yet able to even start a test suite because of an
Invalid selector "[q\\:shadowroot]"
error is raised when trying to render a Qwik app.Describe the bug
In Qwik, we use different selectors which contain a
:
colon to query the DOM, but it seems to be rejected byhappy-dom
even though they are valid selectors (and accepted by all browsers +jsdom
).Here's are some examples:
Which will trigger the following error with
happy-dom
:Expected behavior
Valid selectors shouldn't be rejected.
Additional context
Seems to be related to those issues: #1559 #1558
The text was updated successfully, but these errors were encountered: