externalTestRunArchiver
Implements
Index
Constructors
Methods
Constructors
externalconstructor
Parameters
externaldeps: ArchiverDependencies
externalexecutionContext: ExecutionContext = {}
externaloptionalstage: Stage
Returns TestRunArchiver
Methods
staticexternalfromJSON
Creates a StageCrewMemberBuilder that will instantiate the
TestRunArchiverwith the provided HtmlReporterConfig.Parameters
externalconfig: HtmlReporterConfig = {}
Configuration options for the archiver. All properties are optional.
Returns StageCrewMemberBuilder<TestRunArchiver>
externalassignedTo
Parameters
externalstage: Stage
Returns StageCrewMember
externalnotifyOf
Parameters
externalevent: DomainEvent
Returns void
A
StageCrewMemberthat archives test run data (db.json) and screenshot artifacts to disk during the test run.Unlike HtmlReporter, this crew member does not generate the aggregated HTML report. It only persists the raw data. Use it in CI pipelines where each parallel job archives its own data, and a separate aggregation step (via HtmlReportGenerator or the CLI) combines all data into a single report.
When to use
TestRunArchiverinstead ofHtmlReporterUse HtmlReporter (the default) when you want a single crew member to handle both data collection and report generation in the same process.
Use
TestRunArchiverwhen:Split workflow for parallel CI jobs
Step 1: Register
TestRunArchiverin each parallel CI job:Step 2: After all jobs finish, aggregate and generate the report:
Registering with Playwright Test
Registering with WebdriverIO
Programmatic registration with
fromJSONLearn more