docs/src/test-reporter-api/class-suite.md
Suite is a group of tests. All tests in Playwright Test form the following hierarchy:
method: Test.describe] group
Reporter is given a root suite in the [method: Reporter.onBegin] method.
Returns the list of all test cases in this suite and its descendants, as opposite to [property: Suite.tests].
Test cases and suites defined directly in this suite. The elements are returned in their declaration order. You can differentiate between various entry types by using [property: TestCase.type] and [property: Suite.type].
Location in the source where the suite is defined. Missing for root and project suites.
Parent suite, missing for the root suite.
Configuration of the project this suite belongs to, or [void] for the root suite.
Child suites. See [Suite] for the hierarchy of suites.
Test cases in the suite. Note that only test cases defined directly in this suite are in the list. Any test cases defined in nested [method: Test.describe] groups are listed
in the child [property: Suite.suites].
Suite title.
method: Test.describe] for a group suite.Returns a list of titles from the root down to this suite.
Returns the type of the suite. The Suites form the following hierarchy:
root -> project -> file -> describe -> ...describe -> test.