Playwright · Middle · Question 73 of 75

Which use option records traces only for failed tests?

Show the answer

Correct answer: trace: 'retain-on-failure'

Explanation

It records every test but deletes traces of passing ones. on-first-retry is cheaper; on keeps everything.

Further reading

Problem with a question

Playwright · Middle · question 73

Test yourself

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

Take this quiz