Your question is Debugging Failed Automated Tests. Take a moment with it on the right.
Talk me through your thinking if you like. When you're confident, submit your answer and I'll grade it like a real screen (7/10 or better passes).
What is your process for debugging a failed automated test in a complex environment?
Explain how you classify the failure, collect evidence, reproduce it, isolate the root cause, and verify the fix. Include how you distinguish a product defect from a test defect, environment problem, infrastructure failure, or flaky timing issue.
Keep the answer focused on practical debugging steps for automated tests running locally and in CI.