Playwright · Middle · Question 73 of 75
Which use option records traces only for failed tests?
- 1
trace: 'keep-failed-only' - 2
trace: 'retain-on-failure' - 3
trace: 'on-error-only'
Show the answer
Correct answer: trace: 'retain-on-failure'
Explanation
It records every test but deletes traces of passing ones. on-first-retry is cheaper; on keeps everything.