wdio-testrecorder-reporter
v1.1.2
Published
Package to record and save wdio cucumber test executions
Downloads
4
Maintainers
Readme
wdio-testrecorder-reporter
A reporter for WDIO that generates videos of your wdio cucumber test executions.
This reporter uses ffmpeg to convert sequence of images to video.
Installation
You can simple do it by:
npm i wdio-testrecorder-reporter
Instructions on how to install WDIO
can be found here
Configuration
Configure the output directory in your wdio.conf.js file:
exports.config = {
// ...
reporters: ['TestRecorder', {videoOutputPath: '', attachVideoToCucumberReport: true, removeAttachedVideos: false}]
// ...
}
videoOutputPath
- Output folder path to store video reports.attachVideoToCucumberReport
- Attach the recorded video to cucumber reports.removeAttachedVideos
- Delete the saved video from temp file
Note:
attachVideoToCucumberReport
will work only if cucumberjs-json reporter is enabled