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
Photographerto take photos (a.k.a. screenshots) when thenActorin 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.