-
Notifications
You must be signed in to change notification settings - Fork 677
Closed
Labels
STATE: StaleAn outdated issue that will be automatically closed by the Stale bot.An outdated issue that will be automatically closed by the Stale bot.TYPE: enhancementThe accepted proposal for future implementation.The accepted proposal for future implementation.
Description
What is your Test Scenario?
I'm generating the test case videos but it seems that testcafe is not getting enough frames to create the video.
What is the Current behavior?
I have an animation in my test case and when I run the test I don't get any errors and video is created properly. But when I play the video it seems to be paused because it is generated with very few frames. Basically each second shows a frame even if play with the ffmpeg options to increase the fps, framesv, etc.
What is the Expected behavior?
Smoother animations in videos
createTestCafe('localhost', 1337, 1338)
.then(testcafe => {
const runner = testcafe.createRunner();
return runner
.src(specsPath + '/run-animation.spec.ts')
.video(artifactsPath, {
"pathPattern": `${timestamp}.mp4`
}, {
"r": 60,
})
.browsers(['chrome'])
.reporter('json')
.run()
.then(failedCount => {
console.log('Failed count: ', failedCount);
})
.catch(error => {
console.log('Error: ', error);
});
});- testcafe version: 1.1.2
- node.js version: 10.13.0
- browser name and version: Chrome 73
- platform and version: macOSX high sierra
alexFaunt
Metadata
Metadata
Assignees
Labels
STATE: StaleAn outdated issue that will be automatically closed by the Stale bot.An outdated issue that will be automatically closed by the Stale bot.TYPE: enhancementThe accepted proposal for future implementation.The accepted proposal for future implementation.