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
The text was updated successfully, but these errors were encountered:
kolorfilm
changed the title
query selector fails with 26.0.0 to find for button#react-aria-:r22:.css-ofddhz svg
query selector fails with jsdom 26.0.0 to find for button#react-aria-:r22:.css-ofddhz svgJan 19, 2025
@testing-library/jest-dom
version: ^6.6.3Relevant code or config:
HTML looks like that:
What you did:
await userEvent.click(screen.getByTestId('delete-button-0'));
What happened:
Since I updated jsdom to 26.0.0 I get
SyntaxError: 'button#react-aria-:r22:.css-ofddhz svg' is not a valid selector
.The id seems to be valid and is generated by react-aria.
Reproduction:
Problem description:
According to react-aria this is a valid id.
adobe/react-spectrum#7624 (reply in thread)
Suggested solution:
The text was updated successfully, but these errors were encountered: