- 我添加
const video = require('wdio-video-reporter');
到wdio.conf.js
- 我添加到 wdio.conf.js
capabilities: [
{
...
"appium:deviceType": "phone",
"browserVersion": "73.0-phone-1",
...
},
],
reporters: [
[
'cucumberjs-json',
{
jsonFolder: './results/report/json/',
language: 'en',
},
],
[
video,
{
saveAllVideos: true,
videoSlowdownMultiplier: 1,
outputDir: './results/report/',
maxTestNameCharacters: 100,
},
],
],
但我得到了这个错误。接下来我该怎么办?我可以将 wdio-video-report 添加到 wdio-cucumberjs-json-reporter 和 multiple-cucumber-html-reporter 吗?
谢谢