core-utils
    Preparing search index...

    Implements

    • Reporter
    Index

    Constructors

    Methods

    • Called once before running tests. All tests have been already discovered and put into a hierarchy of Suites.

      Parameters

      • config: FullConfig

        Resolved configuration.

      • _suite: Suite

      Returns void

    • Called after all tests have been run, or testing has been interrupted. Note that this method may return a [Promise] and Playwright Test will await it. Reporter is allowed to override the status and hence affect the exit code of the test runner.

      Parameters

      • _result: FullResult

      Returns void

    • Called on some global error, for example unhandled exception in the worker process.

      Parameters

      • error: TestError

        The error.

      Returns void

    • Called after a test has been finished in the worker process.

      Parameters

      • test: TestCase

        Test that has been finished.

      • result: TestResult

        Result of the test run.

      Returns void