Playwright · Senior · Question 71 of 77

What is the purpose of test.info().annotations?

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.

Further reading

Problem with a question

Playwright · Senior · question 71

Test yourself

Take the Playwright · Senior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz