Frank
Frank copied to clipboard
Make it easier to spot/debug race conditions
A common issue newbies have is to try and tap something before it's animated in. The fix is to add a wait of some kind, but that is not obvious.
We should make it easier to spot the race condition. Take a screenshot at the point the test fails? Take a screenshot with a caption indicating the command being executed?
I don't think there is a way to fix this globally. This problem appears with all the UI testing frameworks. Documenting (wiki, example project) how to take a screenshot in After scenario hook seems to be the simplest solution to me.