0
  1. 我添加const video = require('wdio-video-reporter');wdio.conf.js
  2. 我添加到 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 吗?

谢谢

错误日志

4

0 回答 0