Flaky tests? #1091
-
Hi, I found Happy DOM from bun.sh. Looks interesting but reminds me of @azzaf/zombie and as I used that for a while I wonder if flaky tests would also be an issue for this library? No idea what the technical differences are so forgive me if the question doesn't make sense. Just curious if there are known limitations or considerations for UI testing without a kind of headless browser. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @rosano! 🙂 I believe that the main difference between Zombie and Happy DOM is that Happy DOM has implemented a lot more functionality from the WHATWG DOM and HTML spec. Another key difference is that Happy DOM is still maintained. However, all functionality from DOM and HTML hasn't been implemented yet and in those cases you may get some "flakiness". You are very welcome to report (or even better if you contribute with a fix) if you find missing functionality or a bug. |
Beta Was this translation helpful? Give feedback.
Hi @rosano! 🙂
I believe that the main difference between Zombie and Happy DOM is that Happy DOM has implemented a lot more functionality from the WHATWG DOM and HTML spec. Another key difference is that Happy DOM is still maintained. However, all functionality from DOM and HTML hasn't been implemented yet and in those cases you may get some "flakiness".
You are very welcome to report (or even better if you contribute with a fix) if you find missing functionality or a bug.