Open hirakazuuu opened 5 months ago
Possible duplicate of #1122
Thank you for reporting @hirakazuuu! :slightly_smiling_face:
I have made a fix for #1122, which may be a duplicate of this issue.
Can you please test if the fix in v13.8.5 of Happy DOM solved your issue?
If it didn't solve the issue, can you please setup a reproducible example in Stackblitz or similar? It is otherwise hard to debug why it is failing for you.
@capricorn86 I'm a colleague of @hirakazuuu. Our issue was resolved with the fix in v13.10.1. Thank you very much.
The findByRole function in react testing library is failing in some tests.
Triggering Condition: The issue started occurring after the update to version 13.7.1 of happy-dom.
Versions of OSS Used:
"happy-dom": "13.7.1" "msw": "2.2.3" "vitest": "1.3.1" "@testing-library/react": "^14.2.1"
Failing Test Example:
Your cooperation in resolving this issue is greatly appreciated.