Do we need to add automation coverage for customer bugs?
As currently, we are having coverage for P1 test cases for an end to end scenarios. We are following the test pyramid strategy. But now we are planning to cover the customer bugs. So just want to know whether we need to provide automation coverage for all bugs or not.
Recently been in similar situation and after analysis found an interesting co- relation of bugs found.
The result of the analysis was bugs hide in clusters mostly in few specific areas only.
In other words bugs are not scattered all across the application but mostly exist in clusters in few area only.
So instead of mapping 1 to 1 to each production bug , we added/updated few end to end scenarios in these areas covering most of these issues path + few additional related validations.
This is working very well now as we are finding most of these bugs (if any) in regression test runs only. And automation is being considered very effective by business analysts as well.