Skip to main content

default

Serenity/JS reporter that receives notifications from Playwright Test and emits them as Serenity/JS domain events which can be used by Serenity/JS stage crew members.

Implements

  • Reporter

Index

Constructors

constructor

Methods

onBegin

  • onBegin(config: FullConfig<{}, {}>, suite: Suite): void
  • Parameters

    • config: FullConfig<{}, {}>
    • suite: Suite

    Returns void

onTestBegin

  • onTestBegin(test: TestCase): void
  • Parameters

    • test: TestCase

    Returns void

onTestEnd

  • onTestEnd(test: TestCase, result: TestResult): void
  • Parameters

    • test: TestCase
    • result: TestResult

    Returns void

onEnd

  • onEnd(): Promise<void>
  • Returns Promise<void>

printsToStdio

  • printsToStdio(): boolean
  • Returns boolean