Skip to main content

PerformActivities

An Ability that enables an Actor to perform a given Activity.

PerformActivities is used internally by Actor.attemptsTo, and it is unlikely you’ll ever need to use it directly in your code. That is, unless you’re building a custom Serenity/JS extension and want to override the default behaviour of the framework, in which case you should check out the Contributor’s Guide.

Hierarchy

Index

Constructors

Methods

Constructors

constructor

Methods

perform

  • perform(activity: Activity): Promise<void>
  • Parameters

    Returns Promise<void>