default
Implements
- Reporter
Index
Constructors
Methods
Constructors
constructor
Parameters
config: SerenityReporterForPlaywrightTestConfig
serenity: Serenity = reporterSerenityInstance
Instance of Serenity, specific to the Node process running this Serenity reporter. Note that Playwright runs test workers and reporters in separate processes.
Returns SerenityReporterForPlaywrightTest
Methods
onBegin
Parameters
config: FullConfig<{}, {}>
suite: Suite
Returns void
onTestBegin
Parameters
test: TestCase
Returns void
onTestEnd
Parameters
test: TestCase
result: TestResult
Returns void
onEnd
Returns Promise<void>
printsToStdio
Returns boolean
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.