externalTakePhotosOfFailures
Hierarchy
- PhotoTakingStrategy
- TakePhotosOfFailures
Index
Constructors
Methods
Constructors
externalconstructor
Returns TakePhotosOfFailures
Methods
externalconsiderTakingPhoto
Parameters
externalevent: ActivityStarts | ActivityFinished
externalstage: Stage
The Stage that holds reference to the Actor in the spotlight
Returns Promise<void>
Configures the
Photographer
to take photos (a.k.a. screenshots) when thenInteraction
performed by theActor
in the spotlight results in an error.This strategy works best when you are interested in the screenshots only when a scenario fails.