Playwright · Senior · Question 35 of 77

Where should a test write temporary files so parallel tests don't clash?

Show the answer

Correct answer: To testInfo.outputPath(), unique per test

Explanation

Output paths are per test and per retry, and are kept with other test results.

Further reading

Problem with a question

Playwright · Senior · question 35

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