Playwright · Middle · Question 11 of 75
What does { auto: true } do for a fixture?
- 1Runs it for every test, even if no test asks for it
- 2Makes the fixture value change between retries
- 3Creates the fixture lazily on its first access
Show the answer
Correct answer: Runs it for every test, even if no test asks for it
Explanation
Automatic fixtures suit cross-cutting work like collecting logs or failing on console errors for every test.