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
Photographerto take photos (a.k.a. screenshots) when thenInteractionperformed by theActorin the spotlight results in an error.This strategy works best when you are interested in the screenshots only when a scenario fails.