CodeceptJS Helper for multi sesssion video recording
npm install codeceptjs-video-helperI wanted to make a nice test recording, one to show to clients and public.
Playwright allows you to record sessions, but creates several separate recordings, one for each session.
This package generates a json file with a test run report that allows you to generate a nice looking video.
It also generates a simple mlt file that can be played back or used to generate a recording with the melt command.
```
npm install --save-dev conceptjs-video-helper
codecept.conf.js
`js
helpers: {
VideoHelper: {
require: 'codeceptjs-video-helper'
},
Playwright: {
browser: 'chromium',
url: 'http://localhost:8001',
show: false,
emulate: {
recordVideo: {
dir: "./recordings"
}
}
}
}
`
The scenario.mlt and scenario.json files will be placed in the recordings directory
You can run melt to merge videos together:
```
melt recordings/scenario.mlt
- Create better video renderer