Skip to content
masterclass Buddy

Playwright · Function

test.describe

test.describe groups related Playwright tests. Its callback declares the tests in the group, and the group can share configuration such as tags, annotations, locks, or setup hooks.

Last updated

Since
v1.10

Syntax

test.describe(title, callback)
test.describe(callback)
test.describe(title, details, callback)

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • test
  • test.beforeEach
  • test.beforeAll
  • test.describe.configure
  • test.describe.fixme
  • test.describe.only

Source: Playwright Test. Checked 2026-11-03.