Playwright · Junior · Question 72 of 75
What does reporter: 'html' in the config do?
- 1Generates an interactive HTML report after the run
- 2Prints the page HTML when a test fails
- 3Sends results to a web server during the run
Show the answer
Correct answer: Generates an interactive HTML report after the run
Explanation
Several reporters can be combined, e.g. list in the terminal plus html, or junit for CI dashboards.