I've noticed in slate that a large majority of bugs that creep into codebase are specifically around events, interaction, cross browser, and slate-react. These bugs are often caught by people running through examples on different browsers, and happening to stumble across them.
What I wanted to do is start a discussion to talk about how we could better test for these kinds of issues, hoping someone has experience in this area. I'd like to get higher level testing, like DOM interaction and event triggers, without resorting to something like selenium which is generally error prone.
I haven't dug super deep, but a promising library that might help with this is https://github.com/kentcdodds/react-testing-library.
We could probably automate running this on something like sauce labs or browserstack, or something that has a free open source plan.
I've noticed in slate that a large majority of bugs that creep into codebase are specifically around events, interaction, cross browser, and slate-react. These bugs are often caught by people running through examples on different browsers, and happening to stumble across them.
What I wanted to do is start a discussion to talk about how we could better test for these kinds of issues, hoping someone has experience in this area. I'd like to get higher level testing, like DOM interaction and event triggers, without resorting to something like selenium which is generally error prone.
I haven't dug super deep, but a promising library that might help with this is https://github.com/kentcdodds/react-testing-library.
We could probably automate running this on something like sauce labs or browserstack, or something that has a free open source plan.