externaldefault
Implements
- Reporter
Index
Constructors
Methods
Constructors
externalconstructor
Parameters
externalconfig: SerenityReporterForPlaywrightTestConfig
externalserenity: 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.externalrequirementsHierarchy: RequirementsHierarchy = ...
Root directory of the requirements hierarchy, used to determine capabilities and themes.
Returns SerenityReporterForPlaywrightTest
Methods
externalonBegin
Parameters
externalconfig: FullConfig<{}, {}>
externalsuite: Suite
Returns void
externalonTestBegin
Parameters
externaltest: TestCase
Returns void
externalonTestEnd
Parameters
externaltest: TestCase
externalresult: TestResult
Returns void
externalonError
Parameters
externalerror: TestError
Returns void
externalonEnd
Returns Promise<void>
externalprintsToStdio
Returns boolean
Serenity/JS reporter that receives notifications from Playwright Test and emits them as Serenity/JS Serenity/JS domain events which can be used by Serenity/JS stage crew members.