Tech
A UI test that guesses is worse than one that fails
The worst bug I've seen in a test suite wasn't a failure. It was a pass.
A login test tapped a button labeled "Continue". The app then shipped a second "Continue" inside a consent sheet, and the recorded test β which resolved its selector by taking the first match β started tapping the wrong one. It stayed green for two weeks, because the flow still ended up somewhere plausible, and a passing test is not something anyone goes back and reads.
So that became the rule for tapflow's flow runne...
Read the full discussion on Dev.to
This article was aggregated from Dev.to. Click to join the conversation.
View on Dev.to