Closed chilkakalpesh closed 3 months ago
Fixed the issue by removing -n './node_modules/cypress-multi-reporters'
from script "test:dev:es:parallel". Reporter was getting confused and also downgraded the reporter version - "cypress-mochawesome-reporter": "^3.6.0"
"test:dev:es:parallel": "cypress-parallel -s test:dev:es -t 3 -d 'cypress/e2e/es' -n './node_modules/cypress-multi-reporters' -r 'cypress-mochawesome-reporter' -o 'cypressParallel=true'",
Environment
What happened?
Trying to generate mochawesome report using cypress-parallel. Followed the guide - https://github.com/LironEr/cypress-mochawesome-reporter/tree/master/examples/cypress-parallel. But throwing error:
[Error: ENOENT: no such file or directory, open 'cypress/.tmp/cypressMochawesomeReporterConfig.json'] { errno: -2, code: 'ENOENT', syscall: 'open', path: 'cypress/.tmp/cypressMochawesomeReporterConfig.json' }
package.json
e2e.ts
Config file
Relevant log output
Anything else?
No response