import {SerenityConfig} from '@serenity-js/core'
public interface | source

SerenityConfig

See also:

Member Summary

Public Members
public

A Cast of Actors to be used when actorCalled and actorInTheSpotlight functions are called.

public

A list of StageCrewMemberBuilders or StageCrewMembers to be notified of DomainEvents that occur during the scenario execution.

public

The maximum amount of time Serenity/JS should wait for any post-scenario async operations to complete.

public

An output stream to be injected into StageCrewMemberBuilders

Public Members

public actors: Cast source

A Cast of Actors to be used when actorCalled and actorInTheSpotlight functions are called.

public crew: Array<StageCrewMember|StageCrewMemberBuilder> source

A list of StageCrewMemberBuilders or StageCrewMembers to be notified of DomainEvents that occur during the scenario execution.

public cueTimeout: Duration source

The maximum amount of time Serenity/JS should wait for any post-scenario async operations to complete. Those include generating the screenshots, saving reports to disk and so on. Please note that this is not a scenario timeout, which should be configured in your test runner.

public outputStream: OutputStream source

An output stream to be injected into StageCrewMemberBuilders

Defaults to process.stdout.