Closed paulohvalipio closed 6 days ago
Hii @paulohvalipio Have you got any solution?
const video = require('wdio-video-reporter')
reporters: [ [video, { saveAllVideos: true, videoSlowdownMultiplier: 3, videoRenderTimeout: 5, }] ],
This is not how you are suppose to add the reporter to the config, instead just do:
reporters: [
['video', {
saveAllVideos: true,
videoSlowdownMultiplier: 3,
videoRenderTimeout: 5,
}]
],
Describe the bug When running the project with wdio-video-reporter com o webdriverio 9.0.8 it displays the message
Error: Type check for option "reporters" failed: a reporter should be either a string in the format "wdio--reporter" or a function/class. Please see the docs for more information on custom reporters (https://webdriver.io/docs/customreporter) at validateConfig (file:///C:/project/node_modules/@wdio/config/build/index.js:105:17) at Launcher.run (file:///C:/project/node_modules/@wdio/cli/build/index.js:2164:5)
Log Error: Type check for option "reporters" failed: a reporter should be either a string in the format "wdio--reporter" or a function/class. Please see the docs for more information on custom reporters (https://webdriver.io/docs/customreporter) at validateConfig (file:///C:/project/node_modules/@wdio/config/build/index.js:105:17) at Launcher.run (file:///C:/project/node_modules/@wdio/cli/build/index.js:2164:5)
To Reproduce const video = require('wdio-video-reporter')
reporters: [ [video, { saveAllVideos: true, videoSlowdownMultiplier: 3, videoRenderTimeout: 5, }] ],
Expected behavior The project must be run normally using wdio-video-reporter.
Environment (please complete the following information):
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context Add any other context about the problem here.