Playwright · Senior · Question 32 of 77
When would you write a custom reporter?
- 1To send results to an internal dashboard or chat
- 2To change how tests are executed in workers
- 3To make failing tests appear as passing
Show the answer
Correct answer: To send results to an internal dashboard or chat
Explanation
A reporter implements hooks like onTestEnd and onEnd and receives results, steps and attachments.