Playwright · Middle · Question 52 of 75
What does video: 'retain-on-failure' do?
- 1Records only the failed tests' final screenshot
- 2Uploads videos of all tests to a cloud service
- 3Records videos but keeps them only for failed tests
Show the answer
Correct answer: Records videos but keeps them only for failed tests
Explanation
Recording costs a bit of speed. Keeping only failures saves disk space while still showing what happened.