Playwright · Junior · Question 46 of 75

What does test.describe do?

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.

Further reading

Problem with a question

Playwright · Junior · question 46

Test yourself

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

Take this quiz