-
Upgrade
cypress-mochawesome-reporter
to the latest version -
Upgrade to cypress >=
6.7.0
or cypress >=6.2.0
withexperimentalRunEvents: true
incypress.json
file -
Add to
cypress/plugins/index.js
module.exports = (on, config) => { require('cypress-mochawesome-reporter/plugin')(on); }
-
Remove
generate-mochawesome-report
from yourpackage.json
Since this version automatically generate the HTML at the end of a test run, the CLI have no use anymore