Some of my automated tests fail randomly, even when the app works fine. What’s the best way to fix or manage flaky tests
Loading
Some of my automated tests fail randomly, even when the app works fine. What’s the best way to fix or manage flaky tests
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Kannan KPosted Sep 24, 2025, 7:44 AM
What test automation framework do you use ?
First step will be it identify a pattern for the test cases that are failing and isolating them. when you run the test suite multiple times and find which are commonly failing ones and isolate and determine the dependency - the dependent test cases to these - can be data dependency or previous test or external dependency etc. once you know them then we can find out what can be the solution - adding additional delay during the calls to wait. if there are external service use mock responses for them if testing external apis are not under your testing scope.