Playwright · Senior · Question 71 of 77
What is the purpose of test.info().annotations?
- 1Defining which browser runs the given test
- 2Changing how many times a test is retried
- 3Adding metadata like issue links to tests in reports
Show the answer
Correct answer: Adding metadata like issue links to tests in reports
Explanation
Annotations with types like issue or perf appear in the HTML report and in custom reporters.