Playwright · Junior · Question 46 of 75
What does test.describe do?
- 1Runs the tests in a separate browser
- 2Groups related tests and their hooks
- 3Writes a description into the report
Show the answer
Correct answer: Groups related tests and their hooks
Explanation
A describe block groups tests, scopes beforeEach hooks and test.use options, and shows as a group in the report.