Log
Hierarchy
- Interaction
- Log
Index
Methods
staticthe
Instantiates a new interaction to Log
Note that this method accepts variable number of arguments, so that you can easily log several values at the same time.
Parameters
rest...items: any[]
The items to be logged
Returns Interaction
instantiationLocation
Returns the location where this Activity was instantiated.
Returns FileSystemLocation
toString
Generates a human-friendly description to be used when reporting this Activity.
Note: When this activity is reported, token
#actor
in the description will be replaced with the name of the actor performing this Activity.For example,
#actor clicks on a button
becomesWendy clicks on a button
.Returns string
performAs
Instructs the provided Actor to perform this Interaction.
Learn more
Parameters
actor: UsesAbilities & AnswersQuestions & CollectsArtifacts
Returns Promise<void>
Instructs the Actor to collect arbitrary static values and answers to Answerables, so that they can be sent to the StageCrewMembers and printed to the terminal by the ConsoleReporter or attached to the HTML report by the SerenityBDDReporter.
Logging static and
Answerable
values