4 ms·
We have a product that does this (generates E2E tests from user interactions) - it's very tricky. If you just want to cover the auth & checkout flows it's great
by inglor 6y ago
We have a product that does this (generates E2E tests from user interactions) - it's very tricky. If you just want to cover the auth & checkout flows it's great but if you need to model the more complex and nuanced interactions record + playback is really a great way to go.
- shay_ker 6y agoYou should be able to hack React to do what I'm suggesting (playbacks), though last time I looked at the source code I got a bit confused and gave up. It's historically been such a battle to deal with E2E tests and changing code, but if this playback idea works well then the interop should be relatively seamless. It might require an over-engineered React app, though, which is likely the biggest issue.