Skip to content
masterclass Buddy

Cypress · Function

describe

describe() groups related Cypress tests, and it() defines one test. Use hooks for shared setup and Cypress commands with assertions inside each test.

Last updated

Syntax

describe(name, config?, fn)
it(name, config?, fn)

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

Subscribe
  • context()
  • it()
  • specify()
  • before()
  • beforeEach()
  • afterEach()
  • after()
  • testIsolation

Source: Writing and organizing Cypress tests | Cypress Documentation. Checked 2026-11-03.