Playwright · Senior · Question 52 of 77
What is the main risk of letting an AI agent "heal" failing tests?
- 1It may change the test to pass when the app is broken
- 2It always rewrites the tests in a different language
- 3It deletes the trace files after each fix
Show the answer
Correct answer: It may change the test to pass when the app is broken
Explanation
A failure can be a real bug. Automatic fixes need human review to confirm the test still checks the intended behaviour.