externalTakePhotosOfInteractions
Hierarchy
- PhotoTakingStrategy
- TakePhotosOfInteractions
Index
Constructors
Methods
Constructors
externalconstructor
Returns TakePhotosOfInteractions
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 thenActor
in the spotlight performs anyInteraction
.This strategy works best when you want the results of your automated tests to become comprehensive living documentation of your system.
Please note that taking screenshots affects the performance of your tests.